summaryrefslogtreecommitdiff
path: root/output/outieee.c
diff options
context:
space:
mode:
Diffstat (limited to 'output/outieee.c')
-rw-r--r--output/outieee.c2
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)