Bug 31163 - getaddrinfo returns EAI_NONAME in oom situation
Summary: getaddrinfo returns EAI_NONAME in oom situation
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: nss (show other bugs)
Version: 2.26
: P2 normal
Target Milestone: 2.39
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-13 15:55 UTC by Andreas Schwab
Modified: 2024-01-02 10:22 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schwab 2023-12-13 15:55:36 UTC
When __resolv_context_get in get_nss_addresses returns NULL due to out-of-memory, getaddrinfo return EAI_NONAME instead of EAI_MEMORY.
Comment 1 Andreas Schwab 2024-01-02 10:22:50 UTC
Fixed by commit 5eabdb6a6a.