diff options
| author | 2020-08-06 19:32:45 +0000 | |
|---|---|---|
| committer | 2020-09-16 23:28:56 +0000 | |
| commit | 10b19f86d9d8bec6f47f31449593711479f336a5 (patch) | |
| tree | cf6db00679d1f543593ab9e8e7da6626a01bc909 /vulkan/libvulkan/api.cpp | |
| parent | d04d08d1c78c6455f5e2d883844076ece94b235f (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
(cherry picked from commit deb5346761308d9cda3a249283a482a1ce08549e)
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions