[PATCH] malloc: additional unlink hardening for non-small bins [BZ #17344]
Florian Weimer
fweimer@redhat.com
Wed Sep 10 09:06:00 GMT 2014
Chris Evans has suggested this as a way to stop certain exploits abusing
malloc's metadata processing. My patch is slightly different, the patch
in the bug report has some whitespace changes and locking code which is
not present in master.
Apparently, some downstreams compile malloc with asserts enabled, and
they do not fire, so the validity of the additional checks has in effect
already been tested in the field.
Tested on Fedora 20 x86_64, with no regressions.
--
Florian Weimer / Red Hat Product Security
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-malloc-additional-unlink-hardening-for-non-small-bin.patch
Type: text/x-patch
Size: 2028 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20140910/ad222287/attachment.bin>
More information about the Libc-alpha
mailing list