summaryrefslogtreecommitdiff
path: root/libpackagelistparser/packagelistparser.cpp
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2019-07-26 08:14:09 +0900
committerJiyong Park <jiyong@google.com>2019-07-26 08:14:09 +0900
commit09db2edb459d54a48745b4998b66e29be66a4a02 (patch)
tree041dcec328b6b2f432bc61f2a842203379eb172d /libpackagelistparser/packagelistparser.cpp
parentbecbf6cb5fd8150627d820427312a00131f03ee9 (diff)
Don't fail catastrophically on non-existing namespace
When a new namespace is added to ld.config.txt, it has to be reflected to native_loader_test.cpp. However, failing to do so crashes the test instead of showing an error message that the namespace hasn't been added. Fixing the issue by not returning nullptr when the namespace isn't found. Bug: 138304345 Test: libnativeloader_test Change-Id: I9eee1293956caac69f95a946604a2e6f665bde89
Diffstat (limited to 'libpackagelistparser/packagelistparser.cpp')
0 files changed, 0 insertions, 0 deletions