diff options
author | Narayan Kamath <narayan@google.com> | 2015-08-28 12:59:48 +0100 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2015-09-09 11:20:13 +0100 |
commit | b638126ed3c704ac65024597af952fd45e165410 (patch) | |
tree | 641e41787b3d5e913bed1a0fbf77139de39fd813 /libmincrypt/test | |
parent | 66b6eb9490beeeabc804d790c1c4060ce047afd4 (diff) | |
download | system_core-b638126ed3c704ac65024597af952fd45e165410.zip system_core-b638126ed3c704ac65024597af952fd45e165410.tar.gz system_core-b638126ed3c704ac65024597af952fd45e165410.tar.bz2 |
libutils: Fix integer overflows in VectorImpl. DO NOT MERGE
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: I673b7ab142bed4fcba9159a00a65cf6bca6b1f6c
Diffstat (limited to 'libmincrypt/test')
0 files changed, 0 insertions, 0 deletions