summaryrefslogtreecommitdiff
path: root/libutils/LinearTransform.cpp
diff options
context:
space:
mode:
authorConnor O'Brien <connoro@google.com>2017-02-27 12:21:39 -0800
committerConnor O'Brien <connoro@google.com>2017-02-27 12:21:39 -0800
commitbbcf719f9ab6db876d5d69c763cdf793540622e0 (patch)
tree693b83d843f38f7761bd93ba04861029def514be /libutils/LinearTransform.cpp
parent2aa94cfaf976bd761734c0d666d6bd5d15edc4e6 (diff)
libmemtrack: check return value for getMemory()
libmemtrack does not report an error when the binderized memtrack service dies during a call to getMemory, so a crash in the memtrack service can result in the calling process (e.g. system_server) crashing as well. Add an error check to avoid this problem. Bug: 35728498 Test: adb shell kill -9 $(adb shell pidof android.hardware.memtrack@1.0-service) Change-Id: I852d8dfcbc1c92a95f8fe249b607dea8eb01f06a Signed-off-by: Connor O'Brien <connoro@google.com>
Diffstat (limited to 'libutils/LinearTransform.cpp')
0 files changed, 0 insertions, 0 deletions