diff options
author | H. Peter Anvin (Intel) <hpa@zytor.com> | 2019-09-18 21:20:52 -0700 |
---|---|---|
committer | H. Peter Anvin (Intel) <hpa@zytor.com> | 2019-09-18 21:20:52 -0700 |
commit | f7dbdb2e136db99051b14403a0f29c5155bbf7d8 (patch) | |
tree | fe82b12e9e4c94f1dfa67d167c33e6c41ce4cadd /autogen.sh | |
parent | f24d97500847ed02b62f04dc5d93e1b237c282de (diff) | |
download | nasm-f7dbdb2e136db99051b14403a0f29c5155bbf7d8.tar.gz nasm-f7dbdb2e136db99051b14403a0f29c5155bbf7d8.tar.xz nasm-f7dbdb2e136db99051b14403a0f29c5155bbf7d8.zip |
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>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions