diff options
| author | dimitry <dimitry@google.com> | 2017-11-28 16:03:07 +0100 |
|---|---|---|
| committer | dimitry <dimitry@google.com> | 2017-11-28 21:47:01 +0100 |
| commit | 58554ccb8ac27fd3b5693efde2e1f7ab2a895ea2 (patch) | |
| tree | bc6ed3c66552ffa8fe1cfd27062471b26325a1d3 /libc/stdio/stdio.cpp | |
| parent | f5a6fd2001baad5ea92d50f9e38388a2eda21e23 (diff) | |
Fix bug with double unload on unsuccessful dlopen
In the case of unsuccessful dlopen the failure guard is triggered
for two namespaces which leads to double unload.
Also update soinfo_free to abort in case when linker tries to free same
soinfo for the second time - this makes linker behavior less undefined.
Test: bionic-unit-tests
Bug: http://b/69787209
Change-Id: I886787ee021b050667f967bce7aa2708390886ea
Diffstat (limited to 'libc/stdio/stdio.cpp')
0 files changed, 0 insertions, 0 deletions
