diff options
| author | 2021-06-14 14:13:14 -0700 | |
|---|---|---|
| committer | 2021-06-17 08:22:41 +0000 | |
| commit | 869746ef31936f09a93717ee1ef3960f8fb6dd69 (patch) | |
| tree | b7c534bc792b8128ee6d53089692e6b5477482c0 /libnativeloader/library_namespaces.cpp | |
| parent | f5690ca22446968e6c28ebb06b1d7451e02e203d (diff) | |
runtime: fix potential NULL dereferences
if `found` or `ret` isn't found, one or both of them may be NULL. hence,
we shouldn't be unconditionally calling `->PrettyField()` here.
Bug: None
Test: TreeHugger
Change-Id: Ia40dd0e726d04945d3dedf5c2beb6dd2cff84c21
Diffstat (limited to 'libnativeloader/library_namespaces.cpp')
0 files changed, 0 insertions, 0 deletions