summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/tests/malloc_hooks_tests.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-07-06 14:16:12 -0700
committerElliott Hughes <enh@google.com>2015-07-06 14:37:46 -0700
commit65dd858239c4e32a5a1afbc14ac30dbcdd2a50a3 (patch)
treea90dc5897c328692b7fa6bcf48bdbc142b4d7e02 /libc/malloc_hooks/tests/malloc_hooks_tests.cpp
parentf643eb38c36eb63f612e20dea09fd43ac6a6b360 (diff)
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. Bug: http://b/21192318 Change-Id: I456639127db9a2583f7f738e6b8103375d9387fd
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions