[Bug malloc/22057] malloc_usable_size is broken with mcheck
cvs-commit at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Tue Jul 13 01:14:13 GMT 2021
https://sourceware.org/bugzilla/show_bug.cgi?id=22057
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=84ea6ea24bd5bef674ce16a2832dbbe4d514e6d9
commit 84ea6ea24bd5bef674ce16a2832dbbe4d514e6d9
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Mon Jul 12 14:36:39 2021 -0700
mcheck: Align struct hdr to MALLOC_ALIGNMENT bytes [BZ #28068]
1. Align struct hdr to MALLOC_ALIGNMENT bytes so that malloc hooks in
libmcheck align memory to MALLOC_ALIGNMENT bytes.
2. Remove tst-mallocalign1 from tests-exclude-mcheck for i386 and x32.
3. Add tst-pvalloc-fortify and tst-reallocarray to tests-exclude-mcheck
since they use malloc_usable_size (see BZ #22057).
This fixed BZ #28068.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list