]> 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:40:34 +0000 (15:40 +0200)
commitf75c298e747b2b8b41b1c2f551c011a52c41bfd1
tree8c88bc152e49778e0b6b77513891117be84b66ab
parentae014a15b40f4b35bdcee35c95684e684223ba25
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