summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorEvgeny Eltsin <eaeltsin@google.com>2019-12-11 15:30:16 +0100
committerEvgeny Eltsin <eaeltsin@google.com>2019-12-11 15:42:04 +0100
commitbd1c63065e8c1a2cea46ef59c9a3b74aefbd1f33 (patch)
treed10ceac6660d6ae5e2bc7e1a002f516e6dfe18a7 /libc/malloc_debug/malloc_debug.cpp
parentccf0307f768c14d81faad464e81b37da1582f96e (diff)
Fix sys_ptrace_test feature check on arm64
The code was checking PTRACE_GETREGSET output even in case of error. This seems not correct. Though ptrace can still write some output in case of EINVAL, implementation should still check updated iov_len before reading it. Change the code to avoid checking output in case of error at all. Test: bionic-unit-tests --gtest_filter=sys_ptrace.watchpoint_stress Change-Id: I7b1ca18ac64f81055ff89f56b453aff0ce8e1057
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions