diff options
| author | 2020-08-06 19:32:45 +0000 | |
|---|---|---|
| committer | 2020-08-13 21:31:51 +0000 | |
| commit | 8d49c3fbae160936ac44a1213e53e6cf617ee867 (patch) | |
| tree | 01cc49d6754f2331131a4c0cf9aa914c559fcff7 /libs/ui/DebugUtils.cpp | |
| parent | d07402fc46c09084dc5f918d8ff584a040d42d54 (diff) | |
libbinder_ndk: fix failure when dump/shell are unset
People directly using libbinder_ndk functions who didn't create a debug
dump function function would fail to initialize that pointer, and
potentially crash. Those who didn't create a shell function were
guaranteed to crash. This wasn't noticed because the C++ wrappers which
are the recommended way to use libbinder_ndk always set these functions.
Bug: 161812320
Test: unit tests
Merged-In: I1f6909531bc640097f3f48c4a558fd03f2fa62cb
Change-Id: I1f6909531bc640097f3f48c4a558fd03f2fa62cb
Diffstat (limited to 'libs/ui/DebugUtils.cpp')
0 files changed, 0 insertions, 0 deletions