]> git.ipfire.org Git - thirdparty/glibc.git/commit - nss/getaddrinfo.c
sysdeps/posix/getaddrinfo: Return early on invalid address family
authorTim Rühsen <tim.ruehsen@gmx.de>
Sun, 24 Nov 2019 21:01:29 +0000 (22:01 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 26 Nov 2019 09:19:33 +0000 (10:19 +0100)
commitc1de872c8cdfadb077b4c0a04b1a4bd8c18f3894
tree1f1a0b16fdb03f1f914da7e12663edec7c5c528d
parentcceb038ac0ea552d5eb81759572a358179fa0fc1
sysdeps/posix/getaddrinfo: Return early on invalid address family

Check address family before expensive function call (__check_pf).
sysdeps/posix/getaddrinfo.c