From: Ulrich Drepper Date: Mon, 31 Aug 2009 11:56:07 +0000 (-0700) Subject: Fix problems with memory allocation in assert. X-Git-Tag: glibc-2.10.2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccdf9fd82b5b4588d1c9d7ee479fd991d72e371d;p=thirdparty%2Fglibc.git 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) --- diff --git a/ChangeLog b/ChangeLog index d20156984ae..31a9035dd07 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-08-31 Ulrich Drepper + + [BZ #10560] + * malloc/malloc.c: Add local assert definition to avoid problems with + memory allocation in the real one. + 2009-08-25 Joseph Myers * math/s_fdiml.c (__fdiml): Use fpclassify instead of fpclassifyl.