Skip to content
Commit 09254dac authored by Florian Weimer's avatar Florian Weimer Committed by Mike Frysinger
Browse files

getnameinfo: Avoid calling strnlen on uninitialized buffer

In the numeric AF_INET/AF_INET6 case, if inet_ntop fails
as the result of a short host buffer, we used to call strnlen
on the uninitialized host buffer.

(cherry picked from commit 1c3490d4)
(cherry picked from commit 05d2606f)
parent 98a00b7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment