This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] malloc: verify the size of top chuck, stopping House of Force


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]