Commit 18b3f62e authored by mithun's avatar mithun

Bug #16978278 : BUFFER OVERFLOW WHEN PRINTING A LARGE 64-BIT INTEGER

                WITH MY_B_VPRINTF()

[Merge from 5.1]
parents b00cd628 d88c01d3
...@@ -419,7 +419,7 @@ process_flags: ...@@ -419,7 +419,7 @@ process_flags:
{ {
register int iarg; register int iarg;
size_t length2; size_t length2;
char buff[17]; char buff[32];
iarg = va_arg(args, int); iarg = va_arg(args, int);
if (*fmt == 'd') if (*fmt == 'd')
...@@ -454,7 +454,7 @@ process_flags: ...@@ -454,7 +454,7 @@ process_flags:
{ {
register long iarg; register long iarg;
size_t length2; size_t length2;
char buff[17]; char buff[32];
iarg = va_arg(args, long); iarg = va_arg(args, long);
if (*++fmt == 'd') if (*++fmt == 'd')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment