[PATCH] malloc: verify the size of top chuck, stopping House of Force
Florian Weimer
fweimer@redhat.com
Wed Aug 15 15:25:00 GMT 2018
On 10/26/2017 07:49 PM, DJ Delorie wrote:
>
> Pochang Chen <johnchen902@gmail.com> writes:
>> 2017-10-26 Pochang Chen <johnchen902@gmail.com>
>> * malloc/malloc.c (_int_malloc.c): verify size of top chunk
>
> LGTM and benchmarks are OK.
>
> I'll apply it for you if nobody else objects...
Typo in the subject (âchuckâ). The braces should also be removed from
the if statement.
I checked, and av->system_mem is updated properly, so this should be
okay (no false positives).
DJ, will you apply this patch? We do not need copyright assignment for
this.
Thanks,
Florian
More information about the Libc-alpha
mailing list