diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-05-24 08:05:15 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-05-24 08:05:15 +0200 |
commit | dea39b13e2958a7f0e75b5594a06d97d61cc439f (patch) | |
tree | 09260fd3d3ac770d9f4ee34ce02d070b1688b4cd /ChangeLog | |
parent | db1fa6b8d32a0c7155dcaed2f5f9388511613595 (diff) | |
download | glibc-dea39b13e2958a7f0e75b5594a06d97d61cc439f.tar.gz glibc-dea39b13e2958a7f0e75b5594a06d97d61cc439f.tar.xz glibc-dea39b13e2958a7f0e75b5594a06d97d61cc439f.zip |
malloc: Correct malloc alignment on 32-bit architectures [BZ #6527]
After the heap rewriting added in commit 4cf6c72fd2a482e7499c29162349810029632c3f (malloc: Rewrite dumped heap for compatibility in __malloc_set_state), we can change malloc alignment for new allocations because the alignment of old allocations no longer matters. We need to increase the malloc state version number, so that binaries containing dumped heaps of the new layout will not try to run on previous versions of glibc, resulting in obscure crashes. This commit addresses a failure of tst-malloc-thread-fail on the affected architectures (32-bit ppc and mips) because the test checks pointer alignment.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 14822aface..2b51267194 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2016-05-24 Florian Weimer <fweimer@redhat.com> + + [BZ #6527] + * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment + unconditionally. + * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version. + 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com> * stdlib/tst-strtod6.c (do_test): Use new type generic |