platform_system_core/libutils/tests
Sergio Giro 3411dd4457 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-07-14 16:49:50 +01:00
..
Android.mk Follow up to change b638126ed DO NOT MERGE. 2015-09-10 20:30:59 +00:00
BasicHashtable_test.cpp Clean up some test makefiles. 2014-11-04 17:19:55 -08:00
BitSet_test.cpp Add BitSet64. DO NOT MERGE 2014-03-24 16:51:01 -07:00
BlobCache_test.cpp libutils: turn on -Werror 2014-06-02 15:57:50 -07:00
Looper_test.cpp Make libutils Looper independent of frameworks/native 2013-12-18 22:32:13 -08:00
LruCache_test.cpp Clean up some test makefiles. 2014-11-04 17:19:55 -08:00
String8_test.cpp libutils/Unicode.cpp: Correct length computation and add checks for utf16->utf8 2016-07-14 16:49:50 +01: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 resolved conflicts for 832a0d1c to mnc-dev 2015-09-19 17:29:42 -07:00