summaryrefslogtreecommitdiff
path: root/rsElement.h
diff options
context:
space:
mode:
authorIvan Lozano <ivanlozano@google.com>2017-12-12 09:24:37 -0800
committerIvan Lozano <ivanlozano@google.com>2017-12-19 15:22:18 -0800
commit90016ca95e9e13a2bac15767ebc2b6a9b947cb94 (patch)
tree442c358f67bbd1d54518e50617a52d2e92adbb21 /rsElement.h
parent846639747108940f3612a1aad63797fe8671a8ec (diff)
downloadrs-90016ca95e9e13a2bac15767ebc2b6a9b947cb94.tar.gz
Fix createFromSharedObject in sanitized builds.
On integer sanitized builds, a runtime error occurs on the last loop of the while loop. runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'size_t' (aka 'unsigned int') This restructures the while loop to prevent the overflow from occurring. Bug: 30969751 Test: Compiles, device boots. Ran RS tests. Change-Id: I11a3f9299e8fa376abfa63eca8baa6a186f787a1 Merged-In: I11a3f9299e8fa376abfa63eca8baa6a186f787a1
Diffstat (limited to 'rsElement.h')
0 files changed, 0 insertions, 0 deletions