summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueConsumer.cpp
diff options
context:
space:
mode:
author Dan Austin <danielaustin@google.com> 2015-09-22 14:32:03 -0700
committer Dan Austin <danielaustin@google.com> 2015-09-22 17:22:03 -0700
commit389ddbad52b32beeee6d3f361145b7431bae3536 (patch)
treebd642e9e1e1f3fcae82787d62f08cc513bbcb14c /libs/gui/BufferQueueConsumer.cpp
parent251c8b3ff842363243c8eea25b369bd805af7aad (diff)
Enable multiple benign overflow conditions.
In VelocityTracker.cpp, there are multiple loops in which loop termination occurs when the value becomes zero. These termination conditions are all written value-- > 0, which, since value is unsigned, result in an integer overflow condition when value is 0. These loop were refactored to eliminate these conditions. Bug: 24171356 Change-Id: Ie44940cfef8a122ee1aff59c021274ba39a368bf
Diffstat (limited to 'libs/gui/BufferQueueConsumer.cpp')
0 files changed, 0 insertions, 0 deletions