[uclibc-ng-devel] [PATCH] Resolve bug when using unusual MALLOC_ALIGNMENT

Eyal Itkin eyal.itkin at gmail.com
Mon Mar 30 20:32:35 CEST 2020

Safe-Linking alignment checks should be done on the user's buffer and not
the mchunkptr. The new check adds support for cases in which:
MALLOC_ALIGNMENT != 2*(sizeof(size_t))

The default case for both 32 bits and 64 bits was already supported, and
this patch adds support for the described irregular case.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Resolve-bug-when-using-unusual-MALLOC_ALIGNMENT.patch
Type: application/octet-stream
Size: 1353 bytes
Desc: not available
URL: <http://mailman.uclibc-ng.org/pipermail/devel/attachments/20200330/67f234b9/attachment.obj>

More information about the devel mailing list