diff options
author | James Lemke <jwlemke@codesourcery.com> | 2015-05-19 12:10:26 -0700 |
---|---|---|
committer | James Lemke <jwlemke@codesourcery.com> | 2015-05-19 12:10:26 -0700 |
commit | 265cbed8e73b23e3b38ada6cc42482c53a216224 (patch) | |
tree | 5b4ce3a6bfb61376f8c407c77b1ae79644486134 /ChangeLog | |
parent | 85bae5a160e288fa85eab8a5d1b0b227ab20798a (diff) | |
download | glibc-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-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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. |