summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/EventControlThread.cpp
diff options
context:
space:
mode:
author Ivan Lozano <ivanlozano@google.com> 2017-11-07 12:23:26 -0800
committer Ivan Lozano <ivanlozano@google.com> 2017-11-08 08:19:59 -0800
commit7acfd3175237197b0440e9a337d1db9ebdf20c55 (patch)
tree1821608ad29b3108e029b2c682deb0ab833322be /services/surfaceflinger/EventControlThread.cpp
parent1b70ec25ce919767610c2e1c6df0d28bf00b4a23 (diff)
Fix sanitizer in ISensorService list functions.
The integer overflow sanitizer is throwing unsigned integer overflow errors in the list functions in ISensorService. This refactors the loops to prevent the overflow on the last iteration. Test: Compiles and device boots without sanitizer errors. Bug: 30969751 Change-Id: I6a7993024fdc71702e8e4e8ae535cfaf999e9dab
Diffstat (limited to 'services/surfaceflinger/EventControlThread.cpp')
0 files changed, 0 insertions, 0 deletions