]> git.ipfire.org Git - thirdparty/squid.git/commit
ext_file_userip_acl: harden lookups and memory handling (#2198)
authorJoshua Rogers <MegaManSec@users.noreply.github.com>
Tue, 9 Sep 2025 15:46:55 +0000 (15:46 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Tue, 9 Sep 2025 15:47:08 +0000 (15:47 +0000)
commit54277fe71c0aa654fcc075547e54a613987fbeb5
treed8b2c555130a347a07054342bfef0e6995cae29b
parent0ef69f38fce0687c8bd6b58407a435ec97c9519b
ext_file_userip_acl: harden lookups and memory handling (#2198)

Stop mutating getgrnam(3) buffer; iterate gr_mem safely
Zero last node and NULL-check in dict_lookup() to prevent OOB read
Add free_dict() and free dictionary before exit
src/acl/external/file_userip/ext_file_userip_acl.cc