diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-04-25 14:10:26 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-04-25 14:10:26 +0200 |
commit | fdcf1c9480342d9f5fc2d23f142d621bcb4d00a4 (patch) | |
tree | 1678f802177bb5f37a058e857a43da5363ab5d8e /ChangeLog | |
parent | a5507dfa60a8b92ba52dadabea88e2b5d91da655 (diff) | |
download | glibc-fdcf1c9480342d9f5fc2d23f142d621bcb4d00a4.zip glibc-fdcf1c9480342d9f5fc2d23f142d621bcb4d00a4.tar.gz glibc-fdcf1c9480342d9f5fc2d23f142d621bcb4d00a4.tar.bz2 |
vfprintf: Fix memory with large width and precision [BZ #19931]
Free a previously allocated work buffer if it is not large enough.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,16 @@ +2016-04-25 Florian Weimer <fweimer@redhat.com> + + [BZ #19931] + * stdio-common/tst-vfprintf-width-prec.c: New file. + * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec. + (tests-special): Add tst-vfprintf-width-prec-mem.out. + (generated): Add mtrace-related files. + (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE. + (tst-%-mem.out): New pattern rule, replaces + tst-printf-bz18872-mem.out. + * stdio-common/vfprintf.c (vfprintf): When handling a precision + specifier, deallocate any previously allocated work buffer. + 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com> * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext): |