]> git.ipfire.org Git - thirdparty/squid.git/commit
digest_edirectory_auth: null-terminate NMAS values array (#2184)
authorJoshua Rogers <MegaManSec@users.noreply.github.com>
Mon, 8 Sep 2025 20:51:22 +0000 (20:51 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Mon, 8 Sep 2025 20:51:34 +0000 (20:51 +0000)
commitdb9cd1720c7382e54e4f31ded8d05eac4da3f0e3
treef320335d757a7557ece9dfa89ce345a946572839
parentfb21069d715afd7c186d40050acaba805128e1da
digest_edirectory_auth: null-terminate NMAS values array (#2184)

This patch NULL-terminates the NMAS Universal Password values
array (values[1] = nullptr) to match ldap_get_values() semantics
and avoid potential out-of-bounds iteration.
src/auth/digest/eDirectory/ldap_backend.cc