-
- Downloads
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 c609c31f) Change-Id: I673b7ab142bed4fcba9159a00a65cf6bca6b1f6c
Showing
- charger/Android.mk 1 addition, 1 deletioncharger/Android.mk
- libpixelflinger/Android.mk 2 additions, 2 deletionslibpixelflinger/Android.mk
- libpixelflinger/codeflinger/ARMAssembler.h 2 additions, 2 deletionslibpixelflinger/codeflinger/ARMAssembler.h
- libpixelflinger/codeflinger/CodeCache.h 1 addition, 1 deletionlibpixelflinger/codeflinger/CodeCache.h
- libpixelflinger/codeflinger/MIPSAssembler.h 2 additions, 2 deletionslibpixelflinger/codeflinger/MIPSAssembler.h
- libpixelflinger/codeflinger/tinyutils/Errors.h 0 additions, 48 deletionslibpixelflinger/codeflinger/tinyutils/Errors.h
- libpixelflinger/codeflinger/tinyutils/KeyedVector.h 0 additions, 203 deletionslibpixelflinger/codeflinger/tinyutils/KeyedVector.h
- libpixelflinger/codeflinger/tinyutils/SharedBuffer.cpp 0 additions, 115 deletionslibpixelflinger/codeflinger/tinyutils/SharedBuffer.cpp
- libpixelflinger/codeflinger/tinyutils/SharedBuffer.h 0 additions, 148 deletionslibpixelflinger/codeflinger/tinyutils/SharedBuffer.h
- libpixelflinger/codeflinger/tinyutils/SortedVector.h 0 additions, 284 deletionslibpixelflinger/codeflinger/tinyutils/SortedVector.h
- libpixelflinger/codeflinger/tinyutils/TypeHelpers.h 0 additions, 256 deletionslibpixelflinger/codeflinger/tinyutils/TypeHelpers.h
- libpixelflinger/codeflinger/tinyutils/Vector.h 0 additions, 353 deletionslibpixelflinger/codeflinger/tinyutils/Vector.h
- libpixelflinger/codeflinger/tinyutils/VectorImpl.cpp 0 additions, 555 deletionslibpixelflinger/codeflinger/tinyutils/VectorImpl.cpp
- libpixelflinger/codeflinger/tinyutils/VectorImpl.h 0 additions, 195 deletionslibpixelflinger/codeflinger/tinyutils/VectorImpl.h
- libutils/Android.mk 4 additions, 0 deletionslibutils/Android.mk
- libutils/VectorImpl.cpp 59 additions, 23 deletionslibutils/VectorImpl.cpp
- libutils/tests/Android.mk 8 additions, 0 deletionslibutils/tests/Android.mk
- libutils/tests/Vector_test.cpp 75 additions, 0 deletionslibutils/tests/Vector_test.cpp
Loading
Please register or sign in to comment