[PATCH] posix: Fix double-free after allocation failure in regcomp (bug 33185)
Andreas Schwab
schwab@linux-m68k.org
Mon Jul 21 19:54:03 GMT 2025
On Jul 21 2025, Florian Weimer wrote:
> * Andreas K. Huettel:
>
>> Dumb question, what ensures code outside this file calls the wrappers here?
>> I'm probably just missing a level of indirection.
>
> The link editor automatically creates exported symbols from the main
> program, to support symbol interposition.
Only because libc explicitly allows malloc interposition.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
More information about the Libc-alpha
mailing list