platform_bionic/libc
Pierre Imai 0967fc7e59 Copy the entire zero-separated DNS seach domain string.
The DNS search string contains zeros as domain separator. The resolver
code erroneously used strlcpy(), which resulted in only the first domain
to be copied. The code uses pointers into this string to access the
individual domains. Since the structure is zero-initialized, this bug only
resulted in zero-length domains instead of accessing unitialized memory.

BUG: 27312811
Change-Id: Ia9d066c405dfcc5e82d6766d93ead2ce574e7b0d
2016-02-29 16:50:38 +09:00
..
arch-arm Merge "Improve FORTIFY failure diagnostics." 2016-02-28 00:30:31 +00:00
arch-arm64 Improve FORTIFY failure diagnostics. 2016-02-26 22:06:17 -08:00
arch-common/bionic Properly align init/fini_arrays for crtend.o 2015-05-07 12:56:15 -07:00
arch-mips [MIPS] Add __popcountsi2 to libgcc_compat.c 2016-02-25 14:28:45 -08:00
arch-mips64 Really add adjtimex(2), and add clock_adjtime(2) too. 2016-02-03 13:19:10 -08:00
arch-x86 [MIPS] Add __popcountsi2 to libgcc_compat.c 2016-02-25 14:28:45 -08:00
arch-x86_64 Really add adjtimex(2), and add clock_adjtime(2) too. 2016-02-03 13:19:10 -08:00
bionic Create logging sockets with SOCK_NONBLOCK... 2016-02-27 19:18:41 -08:00
dns Copy the entire zero-separated DNS seach domain string. 2016-02-29 16:50:38 +09:00
include Fix scope ids for link-local IPv6 addresses from getifaddrs(3). 2016-02-17 14:38:09 -08:00
kernel Updated to v4.4.1 kernel headers. 2016-02-05 16:03:55 -08:00
malloc_debug Fix wrong guard values for 64 bit. 2016-02-22 19:14:26 -08:00
private Improve FORTIFY failure diagnostics. 2016-02-26 22:06:17 -08:00
stdio Add fopen64/freopen64/tmpfile64 aliases. 2016-02-03 11:24:28 -08:00
stdlib Revert "Revert "Remove __sinit and __sdidinit."" 2015-12-05 07:30:59 -08:00
tools [MIPS] Add __popcountsi2 to libgcc_compat.c 2016-02-25 14:28:45 -08:00
tzcode Remove mktime_tz. 2016-01-06 09:15:02 -08:00
upstream-freebsd Move several FreeBSD functions to OpenBSD. 2015-09-14 19:01:58 -07:00
upstream-netbsd Fix regerror(..., nullptr, 0). 2016-02-12 16:00:53 -08:00
upstream-openbsd Implement funopen64. 2016-01-26 14:45:13 -08:00
zoneinfo Update timezone data to 2016a 2016-02-25 17:53:37 +00:00
Android.bp Update Android.bp 2016-02-03 21:48:08 -08:00
Android.mk Improve FORTIFY failure diagnostics. 2016-02-26 22:06:17 -08:00
crt.mk Tell kati about generated dependencies around crt 2016-01-28 19:39:50 +09:00
libc.arm.brillo.map Export malloc_backtrace 2016-02-18 16:09:16 -08:00
libc.arm.map Export malloc_backtrace 2016-02-18 16:09:16 -08:00
libc.arm64.map Export malloc_backtrace 2016-02-18 16:09:16 -08:00
libc.map.txt Export malloc_backtrace 2016-02-18 16:09:16 -08:00
libc.mips.brillo.map Export malloc_backtrace 2016-02-18 16:09:16 -08:00
libc.mips.map Export malloc_backtrace 2016-02-18 16:09:16 -08:00
libc.mips64.map Export malloc_backtrace 2016-02-18 16:09:16 -08:00
libc.x86.brillo.map Export malloc_backtrace 2016-02-18 16:09:16 -08:00
libc.x86.map Export malloc_backtrace 2016-02-18 16:09:16 -08:00
libc.x86_64.map Export malloc_backtrace 2016-02-18 16:09:16 -08:00
MODULE_LICENSE_BSD
NOTICE Update NOTICE files. 2016-02-08 17:00:12 -08:00
SYSCALLS.TXT Really add adjtimex(2), and add clock_adjtime(2) too. 2016-02-03 13:19:10 -08:00
version_script.txt Revert "Fix volantis boot." 2015-05-08 09:36:03 -07:00