summaryrefslogtreecommitdiff
path: root/libpackagelistparser/packagelistparser_test.cpp
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2019-05-17 18:48:32 +0900
committerJiyong Park <jiyong@google.com>2019-05-17 18:51:44 +0900
commitd970ccb56e399e916b8a660920df3d873c25facb (patch)
treeae2e7f7695e4bc18880a9d83c4f4e5b02e93d586 /libpackagelistparser/packagelistparser_test.cpp
parent6efb8e77548ba1e17a7b1bd11b923c74986a4d67 (diff)
Fix nullpointer dereference in libnativeloader
The `char* path` argument of OpenNativeLibrary() can be nullptr. We are constructing std::string from the path, which is a bug. Fixing it by using char* without converting it to std::string. Test: run-gtests.sh JniCompilerTest.CompileAndRunIntMethodThroughStubNormalCompiler is successful. Change-Id: I91249da7c1a72a2dff9bc77e477b465e0c7ee056
Diffstat (limited to 'libpackagelistparser/packagelistparser_test.cpp')
0 files changed, 0 insertions, 0 deletions