Fwd: [PATCH v2] stdio-common: Fix heap overflow in scanf %mc pattern
Rocket Ma
marocketbd@gmail.com
Mon Mar 23 09:50:18 GMT 2026
> Would that be caught by mcheck?
I don't know a lot about glibc module, I try to run mcheck_check_all,
but with gdb,
I found the function is actually empty. Related code attached below.
Does that means
we can not run mcheck when linking glibc?
---
/* /malloc/mcheck.c:26 */
void
mcheck_check_all (void)
{
#if !IS_IN (libc)
__mcheck_checkptr (NULL);
#endif
}
More information about the Libc-alpha
mailing list