a5f2e4d421
Let's turn a bug into a feature... Since this code is built with intsan, anyone who caused overflow here will have had an abort, so we know no-one actually needs the BAD_INDEX return that was presumably the original author's intent. So let's just mandate that, since it's a lot harder to ignore an abort than it is to ignore an error return. Bug: http://b/179044558 Test: treehugger Change-Id: I08f1018f9da1e09de885699138b7543d55bb2a36 |
||
---|---|---|
.. | ||
include/utils | ||
Android.bp | ||
BitSet_fuzz.cpp | ||
BitSet_test.cpp | ||
CallStack.cpp | ||
CallStack_fuzz.cpp | ||
CleanSpec.mk | ||
Errors.cpp | ||
Errors_test.cpp | ||
FileMap.cpp | ||
FileMap_fuzz.cpp | ||
FileMap_test.cpp | ||
FuzzFormatTypes.h | ||
JenkinsHash.cpp | ||
LightRefBase.cpp | ||
Looper.cpp | ||
Looper_fuzz.cpp | ||
Looper_test.cpp | ||
Looper_test_pipe.h | ||
LruCache_fuzz.cpp | ||
LruCache_test.cpp | ||
misc.cpp | ||
MODULE_LICENSE_APACHE2 | ||
Mutex_test.cpp | ||
NativeHandle.cpp | ||
NOTICE | ||
OWNERS | ||
Printer.cpp | ||
Printer_fuzz.cpp | ||
ProcessCallStack.cpp | ||
ProcessCallStack_fuzz.cpp | ||
RefBase.cpp | ||
RefBase_fuzz.cpp | ||
RefBase_test.cpp | ||
SharedBuffer.cpp | ||
SharedBuffer.h | ||
SharedBuffer_test.cpp | ||
Singleton_test.cpp | ||
Singleton_test.h | ||
Singleton_test1.cpp | ||
Singleton_test2.cpp | ||
StopWatch.cpp | ||
String8.cpp | ||
String8_fuzz.cpp | ||
String8_test.cpp | ||
String16.cpp | ||
String16_fuzz.cpp | ||
String16_test.cpp | ||
StrongPointer.cpp | ||
StrongPointer_test.cpp | ||
SystemClock.cpp | ||
SystemClock_test.cpp | ||
TEST_MAPPING | ||
Threads.cpp | ||
Timers.cpp | ||
Timers_test.cpp | ||
Tokenizer.cpp | ||
Trace.cpp | ||
Unicode.cpp | ||
Unicode_test.cpp | ||
Vector_benchmark.cpp | ||
Vector_fuzz.cpp | ||
Vector_test.cpp | ||
VectorImpl.cpp |