commit | 0ace760df7cb2983ea1d799bdbb4f5239cf115b8 | [log] [tgz] |
---|---|---|
author | Ivan Lozano <ivanlozano@google.com> | Tue Nov 07 12:23:26 2017 -0800 |
committer | Ivan Lozano <ivanlozano@google.com> | Wed Dec 20 14:37:21 2017 -0800 |
tree | 4027f61af9591bfb2c97ba9f6c7fb20a900700d4 | |
parent | a9c7e6d15201dbb701dc1f535689910a581912b0 [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