diff options
author | Ryan Prichard <rprichard@google.com> | 2018-08-03 13:38:09 -0700 |
---|---|---|
committer | Ryan Prichard <rprichard@google.com> | 2018-08-03 13:50:29 -0700 |
commit | 006d137d0d958204f2adcc0a4d59f5cd3e05363b (patch) | |
tree | d2d894a55d86c0d45e6c28219b10ef8f2158a175 /libc/malloc_hooks/malloc_hooks.cpp | |
parent | 35bb46188ce8dbbb8bde0702e6cc6bf1d0795980 (diff) |
Remove old workaround for unloading unversioned soinfo
This code path is/was a workaround for poorly-behaved apps. AFAIK it isn't
needed anymore.
The (needed != nullptr) condition should have been (needed == nullptr), so
rather than unload a library, it tends to do nothing instead. If it can't
find the library, it would segfault.
Bug: http://b/112154263
Test: /data/nativetest/bionic-unit-tests/bionic-unit-tests
Test: /data/nativetest/linker-unit-tests/linker-unit-tests32
Test: apply patch to pi-dev, verify that apps from b/72143978 still work
Change-Id: Ic598cb3dcead9f88005764a9b8746ed6b35f5f38
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions