summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJames Lemke <jwlemke@codesourcery.com>2014-11-26 13:45:24 -0800
committerJames Lemke <jwlemke@codesourcery.com>2014-12-01 13:05:18 -0800
commit08f1e1d2bca9ef087813357780ec0bafe71c7d29 (patch)
tree8081e878dfe7bc4f2c6be74dc713a5182c123c66 /ChangeLog
parenta8a7d7d212de1dd8c8d0a59eb9ea1c9289f63be1 (diff)
downloadglibc-08f1e1d2bca9ef087813357780ec0bafe71c7d29.tar.gz
glibc-08f1e1d2bca9ef087813357780ec0bafe71c7d29.tar.xz
glibc-08f1e1d2bca9ef087813357780ec0bafe71c7d29.zip
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.
The chain is now terminated by a NULL byte.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 613f304ddc..7d588335ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2014-12-01  James Lemke  <jwlemke@codesourcery.com>
+
+	[BZ #17581]
+	* malloc/hooks.c
+	(mem2mem_check): Add a terminator to the chain of checking blocks.
+	(malloc_check_get_size): Use it here.
+	(mem2chunk_check): Ditto.
+
 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
 
 	* sysdeps/powerpc/powerpc64/strtok.S: New file.