diff options
author | Narayan Kamath <narayan@google.com> | 2015-08-28 12:59:48 +0100 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2015-09-09 12:05:06 +0100 |
commit | 419e6c3c68413bd6dbb6872340b2ae0d69a0fd60 (patch) | |
tree | f39e4b7c0da5ee7ee4a0a7b5ea9e23f962536a56 /libutils/ProcessCallStack.cpp | |
parent | 0cc9a6e6e1f8e675c1238e5e05418cabcc699b52 (diff) |
libutils: Fix integer overflows in VectorImpl.
Use external/safe-iop to check for overflows on arithmetic
operations.
Also remove an unnecessary copy of Vector/SharedBuffer from
codeflinger and use the copy from libutils instead.
Note that some of the unit tests are somewhat useless due to
test-runner limitations : gtest's ability to filter on abort message
doesn't work when combined with messages formatted by android's logging
system.
bug: 22953624
(cherry picked from commit c609c31fb56ae434caa2d0153cd0a2f74a715071)
Change-Id: I61644633db6b54fa230683615de9724f7fabf6fb
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions