diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-06-12 09:31:19 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-06-12 09:31:19 -0700 |
commit | 7174c5812e3d9f8d32dabdd612487231403e20df (patch) | |
tree | 5ee12c0f97c14ad1db4ce9689cb4a2d4b9b02f3b | |
parent | c751e86145aec99b2212321903146723e75af22a (diff) | |
download | nasm-7174c5812e3d9f8d32dabdd612487231403e20df.tar.gz |
Fix overflow in listing.c (BR 1991797)
Fix a buffer overflow in listing.c (BR 1991797).
Putting this on the nasm-2.03.x branch as a potential candidate for a
patch release.
-rw-r--r-- | listing.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -220,7 +220,7 @@ static void list_output(int32_t offset, const void *data, { uint64_t d = *(int64_t *)data; char q[19]; - uint8_t p[4], *r = p; + uint8_t p[8], *r = p; q[0] = '('; q[17] = ')'; q[18] = '\0'; |