bionic/libc/dns
Elliott Hughes dbb17b2831 Fix alignment after variable-length data.
In the serialized output from netd, the strings come first. Some code
assumes -- reasonably enough -- that it can do unaligned reads of pointers,
so we need to ensure alignment after all the strings.

(cherrypick of 65dd858239c4e32a5a1afbc14ac30dbcdd2a50a3.)

Bug: http://b/21192318
Change-Id: I456639127db9a2583f7f738e6b8103375d9387fd
2015-07-06 14:43:28 -07:00
..
include Pass around struct android_net_context for better behaviour 2015-06-29 18:39:54 +09: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 Make ThreadLocalBuffer a class rather than a macro. 2015-03-31 10:56:58 -07:00