aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJames Lemke <jwlemke@codesourcery.com>2015-05-19 12:10:26 -0700
committerJames Lemke <jwlemke@codesourcery.com>2015-05-19 12:10:26 -0700
commit265cbed8e73b23e3b38ada6cc42482c53a216224 (patch)
tree5b4ce3a6bfb61376f8c407c77b1ae79644486134 /ChangeLog
parent85bae5a160e288fa85eab8a5d1b0b227ab20798a (diff)
downloadglibc-265cbed8e73b23e3b38ada6cc42482c53a216224.zip
glibc-265cbed8e73b23e3b38ada6cc42482c53a216224.tar.gz
glibc-265cbed8e73b23e3b38ada6cc42482c53a216224.tar.bz2
Fix for test "malloc_usable_size: expected 7 but got 11"
[BZ #17581] The checking chain of unused chunks was terminated by a hash of the block pointer, which was sometimes confused with the chunk length byte. We now avoid using a length byte equal to the magic byte.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 07f478a..4268eb7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2015-05-19 James Lemke <jwlemke@codesourcery.com>
+
+ [BZ #17581]
+ * malloc/hooks.c
+ (magicbyte): Convert to a function and avoid returning 0x01.
+ (mem2mem_check): Avoid using a length byte equal to the magic byte.
+ (mem2chunk_check): Fix unsigned comparisons to zero.
+ Hoist defs of sz and magic.
+
2015-05-19 Richard Henderson <rth@redhat.com>
* soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.