From 7174c5812e3d9f8d32dabdd612487231403e20df Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 12 Jun 2008 09:31:19 -0700 Subject: [PATCH] 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. --- listing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/listing.c b/listing.c index 30e1af47..c71c53d4 100644 --- a/listing.c +++ b/listing.c @@ -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'; -- 2.11.4.GIT