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-11-15 20:19:41 +0000
commit87c0dba7b1b1754d69cc92f2b400a311d6393eed (patch)
tree356e22a902beb8467f8b27122cfd42885afa07f7 /libc/malloc_hooks/malloc_hooks.cpp
parentd986ba26598cc0a2375d64a2dc60c0bf4ea415a7 (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