summaryrefslogtreecommitdiffstats
path: root/stdio-common/printf-parsewc.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-08-31 04:56:07 -0700
committerPetr Baudis <pasky@suse.cz>2009-09-18 19:59:51 +0200
commitccdf9fd82b5b4588d1c9d7ee479fd991d72e371d (patch)
tree77bf29caaf6f8fd36307daebad2f0214514bd4ba /stdio-common/printf-parsewc.c
parentAdd local assert function to avoid problems with memory allocation in (diff)
downloadglibc-ccdf9fd82b5b4588d1c9d7ee479fd991d72e371d.tar.xz
glibc-ccdf9fd82b5b4588d1c9d7ee479fd991d72e371d.zip
Fix problems with memory allocation in assert.
In case the allocator is corrupted and an assert triggers, we shouldn't allocate any more memory. Use a private assert definition which doesn't use malloc. (cherry picked from commit b5c03e105cb445a7dc08289e7e6751434c3262ce)
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions