mirror of
https://git.musl-libc.org/git/musl
synced 2025-01-06 23:02:10 +03:00
1efc8eb2c7
queue_ctors should not be called with the init_fini_lock held, since it may longjmp out on allocation failure. this introduces a minor TOCTOU race with p->constructed, but one already exists further down anyway, and by design it's okay to run through the queue more than once anyway. the only reason we bother to check p->constructed at all is to avoid spurious failure of dlopen when the library is already fully loaded and constructed. |
||
---|---|---|
.. | ||
dlstart.c | ||
dynlink.c |