about summary refs log tree commit diff
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
parent18655a1455b049792f971abb2f1f8c29fad62b0e (diff)
downloadglibc-ccdf9fd82b5b4588d1c9d7ee479fd991d72e371d.tar.gz
glibc-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)
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d20156984a..31a9035dd0 100644
--- 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.