platform_system_core/include
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 log: Fix warning with __USE_MINGW_ANSI_STDIO 2014-06-12 13:19:51 -07:00
backtrace Change the 64 bit map address format. 2015-06-03 12:12:31 -07:00
cutils add cpuset support to libcutils 2015-06-11 18:35:46 -07:00
diskconfig diskconfig: Add missing include for loff_t 2012-07-23 16:11:59 -07:00
log Add macro to call event logger for errors. DO NOT MERGE 2016-02-23 16:04:34 -08:00
memtrack Fix typos in comments 2015-04-20 10:10:33 -07:00
mincrypt Add support for ECDSA P-256 with SHA256 2013-10-09 17:04:50 -07:00
nativebridge LibNativeBridge: Version 2 2015-05-31 16:58:24 -07:00
netutils Refactor dhcp_utils for more flexible uses. 2015-03-02 12:26:53 +09:00
private fs_config: replace getenv('OUT') by new fs_config parameter 2015-07-09 21:47:07 -07:00
system graphics: update flexible YUV format gralloc requirement 2015-07-14 12:28:38 -07:00
sysutils Revert "Sigh, more vendors linking against hidden APIs." 2015-03-20 23:51:36 +00:00
usbhost libusbhost: Add usb_device_get_version() 2015-04-29 13:04:10 -07:00
utils libutils/Unicode.cpp: Correct length computation and add checks for utf16->utf8 2016-07-14 16:49:50 +01:00
ziparchive Add |optional_suffix| to StartIteration() 2015-06-23 17:31:16 -07:00