platform_system_core/libutils/tests
Sergio Giro 1cfa56d46c libutils/Unicode.cpp: Correct length computation and add checks for utf16->utf8
Inconsistent behaviour between utf16_to_utf8 and utf16_to_utf8_length
is causing a heap overflow.

Correcting the length computation and adding bound checks to the
conversion functions.

Test: ran libutils_tests
Bug: 29250543
Change-Id: I6115e3357141ed245c63c6eb25fc0fd0a9a7a2bb
(cherry picked from commit c4966a363e)
2016-08-25 20:07:51 +00:00
..
Android.bp Add test for RefBase etc. 2016-07-13 12:03:03 -07:00
BitSet_test.cpp libutils: fix signed/unsigned comparison warnings 2015-08-17 20:54:15 -07:00
BlobCache_test.cpp Add test for RefBase etc. 2016-07-13 12:03:03 -07:00
Looper_test.cpp Merge \"Fix google-explicit-constructor warnings in system/core.\" 2016-07-29 17:01:17 +00:00
LruCache_test.cpp LruCache: avoid copying keys in lookup 2016-07-20 18:38:44 +00:00
README.txt Add test for RefBase etc. 2016-07-13 12:03:03 -07:00
RefBase_test.cpp Make RefBase more robust and debuggable 2016-08-13 11:17:51 -07:00
String8_test.cpp libutils/Unicode.cpp: Correct length computation and add checks for utf16->utf8 2016-08-25 20:07:51 +00:00
StrongPointer_test.cpp Fix google-explicit-constructor warnings in system/core. 2016-07-26 11:26:01 -07:00
SystemClock_test.cpp SystemClock: add test 2016-05-02 13:59:58 -07:00
TestHelpers.h Fix google-explicit-constructor warnings in system/core. 2016-07-26 11:26:01 -07:00
Unicode_test.cpp Unicode: specify destination length in utf8_to_utf16 methods 2016-08-25 19:57:06 +00:00
Vector_test.cpp system/core/lib[c]utils: Fix signedness comparison warnings. 2016-03-01 11:21:53 -08:00

README.txt

Run device tests:

mma -j<whatever>
(after adb root; adb disable-verity; adb reboot)
adb root
adb remount
adb sync
adb shell /data/nativetest/libutils_tests/libutils_tests