aboutsummaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2019-09-18 21:20:52 -0700
committerH. Peter Anvin (Intel) <hpa@zytor.com>2019-09-18 21:20:52 -0700
commitf7dbdb2e136db99051b14403a0f29c5155bbf7d8 (patch)
treefe82b12e9e4c94f1dfa67d167c33e6c41ce4cadd /autogen.sh
parentf24d97500847ed02b62f04dc5d93e1b237c282de (diff)
downloadnasm-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