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.
This commit is contained in:
parent
c751e86145
commit
7174c5812e
1 changed files with 1 additions and 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';
|
||||
|
|
Loading…
Reference in a new issue