platform_bionic/libc/dns
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
..
include Sync with upstream OpenBSD. 2016-01-15 16:30:18 -08:00
nameser Replace uses of sprintf(3) with snprintf(3). 2014-10-08 16:12:27 -07:00
net Fix alignment after variable-length data. 2015-07-06 14:43:28 -07:00
resolv Copy the entire zero-separated DNS seach domain string. 2016-02-29 16:50:38 +09:00