0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-07-24 10:25:42 -04:00
H. Peter Anvin (Intel) f7dbdb2e13 preproc: fix multiple memory corruption issues
paste_tokens() would not null-terminate the buffer before passing it
to tokenize(), resulting in garbage or a memory overwrite.

In several places the next pointers got confused; sometimes causing a
circular list and sometimes an invalid pointer.

Some minor code cleanups while fixing things, too...

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
2019-09-18 21:20:52 -07:00
..
2019-09-12 20:21:03 -04:00
2019-09-12 20:21:03 -04:00
2018-12-18 11:14:59 -08:00
2019-09-12 20:26:23 -04:00
2019-08-10 06:45:12 -07:00
2019-06-06 17:32:44 -07:00