]> git.ipfire.org Git - thirdparty/glibc.git/commit
nscd: Fix use-after-free in addgetnetgrentX [BZ #23520]
authorFlorian Weimer <fweimer@redhat.com>
Tue, 28 Aug 2018 11:19:27 +0000 (13:19 +0200)
committerCarlos O'Donell <carlos@redhat.com>
Fri, 9 Nov 2018 15:17:00 +0000 (10:17 -0500)
commit7d174f53539bfbfa9cdfa41ead605573d3f219eb
tree2183c45cddfeb059c525327c5d6446bef91cc466
parent53a7e59405cbbbd24c1cf64b0298a9e6212a82e2
nscd: Fix use-after-free in addgetnetgrentX [BZ #23520]

addinnetgrX may use the heap-allocated buffer, so free the buffer
in this function.

(cherry picked from commit 745664bd798ec8fd50438605948eea594179fba1)
ChangeLog
nscd/netgroupcache.c