]> git.ipfire.org Git - thirdparty/glibc.git/commit
CVE-2024-33599: nscd: Stack-based buffer overflow in netgroup cache (bug 31677)
authorFlorian Weimer <fweimer@redhat.com>
Thu, 25 Apr 2024 13:00:45 +0000 (15:00 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 25 Apr 2024 13:42:42 +0000 (15:42 +0200)
commitcaa3151ca460bdd9330adeedd68c3112d97bffe4
tree158168b0299cffdc39d53f42c7eda1d69f3c47df
parent4ed98540a7fd19f458287e783ae59c41e64df7b5
CVE-2024-33599: nscd: Stack-based buffer overflow in netgroup cache (bug 31677)

Using alloca matches what other caches do.  The request length is
bounded by MAXKEYLEN.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
(cherry picked from commit 87801a8fd06db1d654eea3e4f7626ff476a9bdaa)
nscd/netgroupcache.c