]> git.ipfire.org Git - thirdparty/glibc.git/commit
nss: Missing checks in __nss_configure_lookup, __nss_database_get (bug 28940)
authorFlorian Weimer <fweimer@redhat.com>
Fri, 13 Feb 2026 08:02:07 +0000 (09:02 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 13 Feb 2026 08:02:07 +0000 (09:02 +0100)
commit5b713b49443eb6a4e54e50e2f0147105f86dab02
treef0b8ed5b5f3cfa0b33b6fbd659c07096a221fcf5
parent28660f4b45afa8921c2faebaec2846f95f670ba0
nss: Missing checks in __nss_configure_lookup, __nss_database_get (bug 28940)

This avoids a null pointer dereference in the
nss_database_check_reload_and_get function, and assertion failures.

Reviewed-by: Sam James <sam@gentoo.org>
nss/Makefile
nss/nss_database.c
nss/tst-nss-malloc-failure-getlogin_r.c [new file with mode: 0644]