summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/malloc_hooks.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-11-15 12:31:01 -0800
committerElliott Hughes <enh@google.com>2016-11-15 13:00:44 -0800
commit105a0bdfa5e44429e64c31fdbeabc959df8ad87e (patch)
tree5f0a6e7a35d6b59f6dac0d77c7fe12cc35203e53 /libc/malloc_hooks/malloc_hooks.cpp
parent1944780b62f84acb660f46c8ae37e10928de8dab (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). (cherrypick of 27a4459d945e34fabd7166791a5b862ccea83f23 from master.) Bug: http://b/32322088 Change-Id: I9668b1515ad87665e47cae962812474bb480f205
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions