]> git.ipfire.org Git - thirdparty/glibc.git/commit
getaddrinfo: translate ENOMEM to EAI_MEMORY (bug 31163)
authorAndreas Schwab <schwab@suse.de>
Wed, 6 Dec 2023 13:48:22 +0000 (14:48 +0100)
committerAndreas Schwab <schwab@suse.de>
Tue, 2 Jan 2024 10:10:42 +0000 (11:10 +0100)
commit5eabdb6a6ac1599d23dd5966a37417215950245f
treeb2884c59b1613e45ec124fd1e5234f49dde86013
parent4b00532e51e40e2a85eba65ed817234b7bd741d9
getaddrinfo: translate ENOMEM to EAI_MEMORY (bug 31163)

When __resolv_context_get returns NULL due to out of memory, translate it
to a return value of EAI_MEMORY.
nss/getaddrinfo.c