History log of /system/core/libutils/tests/String8_test.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c4966a363e46d2e1074d1a365e232af0dcedd6a1 28-Jun-2016 Sergio Giro <sgiro@google.com> 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
/system/core/libutils/tests/String8_test.cpp
df5151d30f12a48ea60e6ca9368bfab72cc3d5b2 07-Sep-2015 Sergio Giro <sgiro@google.com> libutils: add test for String8

Test crashes with SIGSEGV without the fix in b/23290056, passes otherwise.

Bug: 23290056
Change-Id: I6daca0aa07b5e97b004a9606a0227227fae11896
/system/core/libutils/tests/String8_test.cpp
d98e07fdf9c338589f263c47ce5c844ed43efad5 02-Aug-2013 Alex Ray <aray@google.com> move libs/utils to libutils

Change-Id: I6cf4268599460791414882f91eeb88a992fbd29d
/system/core/libutils/tests/String8_test.cpp