diff options
author | mithun <mithun.c.y@oracle.com> | 2013-09-10 15:42:50 +0530 |
---|---|---|
committer | mithun <mithun.c.y@oracle.com> | 2013-09-10 15:42:50 +0530 |
commit | c2e0d7809ecbf1b2bd5ad4188155cc8a6d06bda7 (patch) | |
tree | 2a206cff5d709d1ebabea373ecabdf0c7ca46f74 | |
parent | 33a241a0cf7b0b4e65ffaa950da3901c889d02bb (diff) | |
parent | 42501173084f8a085a5cab38cb7d19ada8a96739 (diff) | |
download | mariadb-git-c2e0d7809ecbf1b2bd5ad4188155cc8a6d06bda7.tar.gz |
Bug #16978278 : BUFFER OVERFLOW WHEN PRINTING A LARGE 64-BIT INTEGER
WITH MY_B_VPRINTF()
[Merge from 5.1]
-rw-r--r-- | mysys/mf_iocache2.c | 4 |
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') |