summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/malloc_hooks.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-11-14 13:56:32 -0800
committerElliott Hughes <enh@google.com>2016-12-07 19:18:51 +0000
commit418fe1eb1aeefc2268a40c5cec0ceb62672fa026 (patch)
tree3010e877627ef2aa7b069de42a86ac0e54697675 /libc/malloc_hooks/malloc_hooks.cpp
parent3656958a16590d07d1e25587734e000beb437740 (diff)
Check for bad packets in getaddrinfo.c's getanswer.
The near duplicate in gethnamaddr.c was already doing so (this fix is basically copy and pasted from there, but with both copies modified to avoid skirting undefined behavior). Bug: http://b/32322088 Test: browser still works Change-Id: Ied6662be567fb1bddc7ceb138cae1da77fb57976 (cherry picked from commit 27a4459d945e34fabd7166791a5b862ccea83f23)
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions