]> 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 14:07:52 +0000 (16:07 +0200)
commit5c75001a96abcd50cbdb74df24c3f013188d076e
tree7373d9d49bd24fb9482e8ca3894ffdfe16b8a265
parented4f16ff6bed3037266f1fa682ebd32a18fce29c
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