android_system_core/libutils/tests
Sergio Giro 5fce0542b6 DO NOT MERGE 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.

(cherry picked from commit c4966a363e)

Bug: 29250543
Change-Id: Ia2d6a550f5594280505fb0835c752e53898700ed
2016-07-14 12:34:30 +00:00
..
Android.mk Follow up to change b638126ed DO NOT MERGE. 2015-09-10 20:30:59 +00:00
BasicHashtable_test.cpp move libs/utils to libutils 2013-08-02 14:40:08 -07:00
BitSet_test.cpp move libs/utils to libutils 2013-08-02 14:40:08 -07:00
BlobCache_test.cpp move libs/utils to libutils 2013-08-02 14:40:08 -07:00
Looper_test.cpp move libs/utils to libutils 2013-08-02 14:40:08 -07:00
LruCache_test.cpp move libs/utils to libutils 2013-08-02 14:40:08 -07:00
String8_test.cpp DO NOT MERGE libutils/Unicode.cpp: Correct length computation and add checks for utf16->utf8 2016-07-14 12:34:30 +00:00
TestHelpers.h move libs/utils to libutils 2013-08-02 14:40:08 -07:00
Unicode_test.cpp move libs/utils to libutils 2013-08-02 14:40:08 -07:00
Vector_test.cpp Follow up to change b638126ed DO NOT MERGE. 2015-09-10 20:30:59 +00:00