summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.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-12-20 14:37:21 -0800
commit0ace760df7cb2983ea1d799bdbb4f5239cf115b8 (patch)
tree4027f61af9591bfb2c97ba9f6c7fb20a900700d4 /vulkan/libvulkan/api.cpp
parenta9c7e6d15201dbb701dc1f535689910a581912b0 (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 Merged-In: I6a7993024fdc71702e8e4e8ae535cfaf999e9dab
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions