platform_system_core/include
Sergio Giro 570dbfb8b8 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 13:40:43 +00:00
..
android log: Fix warning with __USE_MINGW_ANSI_STDIO 2014-06-12 13:19:51 -07:00
backtrace Add error reporting mechanism for failing Unwind. 2016-03-10 14:14:43 -08:00
binderwrapper libbinderwrapper: Add BinderWrapper::GetOrCreateInstance() 2016-01-04 12:56:27 -08:00
cutils Add utility to prepare files in a similar way to directories 2016-05-24 18:19:12 +01:00
diskconfig diskconfig: Add missing include for loff_t 2012-07-23 16:11:59 -07:00
log liblog: add android_log_write_string8_len 2016-02-25 15:53:00 -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 Remove a dead header (<netutils/dhcp.h>). 2016-05-18 14:22:15 -07:00
private Move canned_fs_config into libcutils 2016-04-07 22:44:00 -07:00
system graphics.h: Add android_hdr_t 2016-04-06 14:52:10 -07:00
sysutils Revert "Sigh, more vendors linking against hidden APIs." 2015-03-20 23:51:36 +00:00
usbhost libusbhost: add usb_device_reset 2016-01-13 16:01:42 -08:00
utils libutils/Unicode.cpp: Correct length computation and add checks for utf16->utf8 2016-07-14 13:40:43 +00:00
ziparchive libziparchive: ensure ReadAtOffset is atomic 2016-03-09 17:17:19 -08:00