[PATCH] malloc tcache: Debugger now sees the address of the corrupted chunk.

Florian Weimer fweimer@redhat.com
Thu Dec 17 09:34:12 GMT 2020


* DJ Delorie via Libc-alpha:

> Adder <adder.thief@gmail.com> writes:
>
>> And shuffling the qualifier eliminates the need for casting to void.
>
> The (void) is a common idiom;

That may be so, but it's not actually supported by GCC to suppress
warnings, so I don't think it has a place in glibc.

Thanks,
Florian
-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill



More information about the Libc-alpha mailing list