diff options
author | Frank Kotler <fbkotler@users.sourceforge.net> | 2005-05-09 16:34:43 +0000 |
---|---|---|
committer | Frank Kotler <fbkotler@users.sourceforge.net> | 2005-05-09 16:34:43 +0000 |
commit | 02f05cebbade344d0f84c42fde59c30582997b3a (patch) | |
tree | 8cadbaef872b79b3f0b274d9b5f853e76611258f /output | |
parent | 9d8c22b202c0b22c6d5d30ac459dd2a04a75e169 (diff) | |
download | nasm-02f05cebbade344d0f84c42fde59c30582997b3a.tar.gz nasm-02f05cebbade344d0f84c42fde59c30582997b3a.tar.bz2 nasm-02f05cebbade344d0f84c42fde59c30582997b3a.zip |
Jindrich Novy's buffer overrun patch to outieee.c
-
Diffstat (limited to 'output')
-rw-r--r-- | output/outieee.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/output/outieee.c b/output/outieee.c index 7d72390..6c319cd 100644 --- a/output/outieee.c +++ b/output/outieee.c @@ -1120,7 +1120,7 @@ static void ieee_putascii(char *format, ...) va_list ap; va_start(ap, format); - vsprintf(buffer, format, ap); + vsnprintf(buffer, sizeof(buffer), format, ap); l = strlen(buffer); for (i = 0; i < l; i++) if ((buffer[i] & 0xff) > 31) |