fix unsafety of new ldso dep tracking in presence of malloc replacement
authorRich Felker <dalias@aerifal.cx>
Fri, 1 Mar 2019 19:37:52 +0000 (14:37 -0500)
committerRich Felker <dalias@aerifal.cx>
Sat, 2 Mar 2019 22:29:11 +0000 (17:29 -0500)
commit0c5c8f5da6e36fe4ab704bee0cd981837859e23f
treea00d7d9ee1d24ba9c919559571dd1a7a8256cd69
parent403555690775f7c8806372644f543518e6664e3b
fix unsafety of new ldso dep tracking in presence of malloc replacement

commit 403555690775f7c8806372644f543518e6664e3b introduced runtime
realloc of an array that may have been allocated before symbols were
resolved outside of libc, which is invalid if the allocator has been
replaced. track this condition and manually copy if needed.
ldso/dynlink.c