diff options
author | Robert Mustacchi <rm@joyent.com> | 2017-01-07 23:11:52 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2017-05-30 18:08:04 +0000 |
commit | afc62b4b94eec9d9cec1ba14fd65fcf304325e7f (patch) | |
tree | 4ded1ba71a4ac3f908589df6e022e482c4bc09d4 /usr/src/lib/libc | |
parent | a5ae00988088f44766fb28f575751986b222edbc (diff) | |
download | illumos-joyent-afc62b4b94eec9d9cec1ba14fd65fcf304325e7f.tar.gz |
6961 64-bit octal printf may overflow internal buffer
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Yuri Pankov <yuri.pankov@gmail.com>
Approved by: Dan McDonald <danmcd@kebe.com>
Diffstat (limited to 'usr/src/lib/libc')
-rw-r--r-- | usr/src/lib/libc/port/print/print.h | 4 |
1 files changed, 1 insertions, 3 deletions
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 <floatingpoint.h> #include <thread.h> @@ -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) |