From afc62b4b94eec9d9cec1ba14fd65fcf304325e7f Mon Sep 17 00:00:00 2001 From: Robert Mustacchi Date: Sat, 7 Jan 2017 23:11:52 +0000 Subject: 6961 64-bit octal printf may overflow internal buffer Reviewed by: Toomas Soome Reviewed by: Yuri Pankov Approved by: Dan McDonald --- usr/src/lib/libc/port/print/print.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'usr/src/lib/libc') diff --git a/usr/src/lib/libc/port/print/print.h b/usr/src/lib/libc/port/print/print.h index 427d32677a..bbc2c8ee7d 100644 --- a/usr/src/lib/libc/port/print/print.h +++ b/usr/src/lib/libc/port/print/print.h @@ -31,8 +31,6 @@ #ifndef _PRINT_H #define _PRINT_H -#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.9 */ - #include "file64.h" #include #include @@ -63,7 +61,7 @@ __qaconvert(long double *arg, int ndigits, int *exp, int *sign, char *buf); #define MAXDIGS 11 /* Maximum number of digits in any long long representation */ -#define MAXLLDIGS 21 +#define MAXLLDIGS 22 /* Maximum total number of digits in E format */ #define MAXECVT (DECIMAL_STRING_LENGTH-1) -- cgit v1.2.3