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 27a4459d from master.) Bug: http://b/32322088 Test: browser still works Change-Id: I16950bb0ff9dc806cc5405b913ca4ef96e43c19f
Loading
Please sign in to comment