[PATCH] posix: Fix double-free after allocation failure in regcomp (bug 33185)

Florian Weimer fweimer@redhat.com
Mon Jul 21 19:39:43 GMT 2025


* 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.  This is done to mimic the
behavior of static linking, I believe.

Thanks,
Florian



More information about the Libc-alpha mailing list