summaryrefslogtreecommitdiff
path: root/debuggerd/handler/debuggerd_handler.cpp
diff options
context:
space:
mode:
authorIvan Lozano <ivanlozano@google.com>2017-11-07 13:13:55 -0800
committerIvan Lozano <ivanlozano@google.com>2017-11-08 08:23:23 -0800
commit045064371e7b85f94f78a7ea9e8b7aabf53e53d2 (patch)
tree9990ef36ef6e023e702ec9f1ad07b3b01bf44c38 /debuggerd/handler/debuggerd_handler.cpp
parent4b7f0fdccb6859bf98190c65fa942dbabbefa750 (diff)
Fix sanitizer errors in bootstat.cpp.
Integer overflow sanitized builds are throwing an error on the while loop decrement in the rfind function. This refactors the loop to prevent decrementing the value on the final iteration. Test: Compiled and device boots without runtime error. Bug: 30969751 Change-Id: Ice4532cce933062b3c14adf2d9749cfdea4ad84c
Diffstat (limited to 'debuggerd/handler/debuggerd_handler.cpp')
0 files changed, 0 insertions, 0 deletions