summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authormithun <mithun.c.y@oracle.com>2013-09-10 15:42:50 +0530
committermithun <mithun.c.y@oracle.com>2013-09-10 15:42:50 +0530
commitc2e0d7809ecbf1b2bd5ad4188155cc8a6d06bda7 (patch)
tree2a206cff5d709d1ebabea373ecabdf0c7ca46f74 /mysys
parent33a241a0cf7b0b4e65ffaa950da3901c889d02bb (diff)
parent42501173084f8a085a5cab38cb7d19ada8a96739 (diff)
downloadmariadb-git-c2e0d7809ecbf1b2bd5ad4188155cc8a6d06bda7.tar.gz
Bug #16978278 : BUFFER OVERFLOW WHEN PRINTING A LARGE 64-BIT INTEGER
WITH MY_B_VPRINTF() [Merge from 5.1]
Diffstat (limited to 'mysys')
-rw-r--r--mysys/mf_iocache2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/mf_iocache2.c b/mysys/mf_iocache2.c
index 6790489e786..04d2bc34ae4 100644
--- a/mysys/mf_iocache2.c
+++ b/mysys/mf_iocache2.c
@@ -419,7 +419,7 @@ process_flags:
{
register int iarg;
size_t length2;
- char buff[17];
+ char buff[32];
iarg = va_arg(args, int);
if (*fmt == 'd')
@@ -454,7 +454,7 @@ process_flags:
{
register long iarg;
size_t length2;
- char buff[17];
+ char buff[32];
iarg = va_arg(args, long);
if (*++fmt == 'd')