summaryrefslogtreecommitdiff
path: root/libc/async_safe/async_safe_log.cpp
diff options
context:
space:
mode:
authordimitry <dimitry@google.com>2018-04-27 12:19:07 +0200
committerdimitry <dimitry@google.com>2018-04-29 13:39:46 +0200
commit7217a092a6cc122f7601e4f0007f844f15ffeb3a (patch)
treece4e1c8b88ddca1006f1be3e5e71349ac30cc083 /libc/async_safe/async_safe_log.cpp
parent8602538a15f89f91d6994c3abfd64a274bf7ddb0 (diff)
Libraries without dt_soname are inaccessible
When linker tries to check if a library without dt_soname is accessible it crashes. This change fixes this problem to return false instead (making them inaccessible from other namespaces) This went unnoticed because vendor libraries on current devices all have dt_soname set. This was only discovered on one of the newer devices which has a vendor prebuilt library without a soname. Bug: http://b/78661414 Bug: https://issuetracker.google.com/77287902 Test: cts-tradefed run commandAndExit cts -m CtsJniTestCases Change-Id: Idb192b4ed7a810840ba2a9177bad2360ffbb75e2 (cherry picked from commit 94f7a87510138ac7b061611b181fa6e995d41764)
Diffstat (limited to 'libc/async_safe/async_safe_log.cpp')
0 files changed, 0 insertions, 0 deletions