vfprintf: Fix memory with large width and precision [BZ #19931]
authorFlorian Weimer <fweimer@redhat.com>
Mon, 25 Apr 2016 12:10:26 +0000 (14:10 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 25 Apr 2016 12:10:26 +0000 (14:10 +0200)
commitfdcf1c9480342d9f5fc2d23f142d621bcb4d00a4
tree1678f802177bb5f37a058e857a43da5363ab5d8e
parenta5507dfa60a8b92ba52dadabea88e2b5d91da655
vfprintf: Fix memory with large width and precision [BZ #19931]

Free a previously allocated work buffer if it is not large enough.
ChangeLog
stdio-common/Makefile
stdio-common/tst-vfprintf-width-prec.c [new file with mode: 0644]
stdio-common/vfprintf.c