Fix problems with memory allocation in assert.
authorUlrich Drepper <drepper@redhat.com>
Mon, 31 Aug 2009 11:56:07 +0000 (04:56 -0700)
committerUlrich Drepper <drepper@redhat.com>
Mon, 31 Aug 2009 11:56:07 +0000 (04:56 -0700)
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.

ChangeLog

index b52cb81..2f6de8b 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-27  H.J. Lu  <hongjiu.lu@intel.com>
 
        * sysdeps/i386/i686/multiarch/init-arch.c (ENABLE_SSSE3_ON_ATOM):