From fdcf1c9480342d9f5fc2d23f142d621bcb4d00a4 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 25 Apr 2016 14:10:26 +0200 Subject: vfprintf: Fix memory with large width and precision [BZ #19931] Free a previously allocated work buffer if it is not large enough. --- ChangeLog | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index b8b87eab72..683212f87a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2016-04-25 Florian Weimer + + [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 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext): -- cgit v1.2.3