]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix problems with memory allocation in assert.
authorUlrich Drepper <drepper@redhat.com>
Mon, 31 Aug 2009 11:56:07 +0000 (04:56 -0700)
committerPetr Baudis <pasky@suse.cz>
Fri, 18 Sep 2009 17:59:51 +0000 (19:59 +0200)
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)

ChangeLog

index d20156984ae137240b818df8bc28a4c9fa8bc591..31a9035dd07e48def46a834e4b6928e1368d39d9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-08-31  Ulrich Drepper  <drepper@redhat.com>
+
+       [BZ #10560]
+       * malloc/malloc.c: Add local assert definition to avoid problems with
+       memory allocation in the real one.
+
 2009-08-25  Joseph Myers  <joseph@codesourcery.com>
 
        * math/s_fdiml.c (__fdiml): Use fpclassify instead of fpclassifyl.