]> git.ipfire.org Git - thirdparty/squid.git/commit
ext_session_acl: fix TDB key lookup (#1064)
authorFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 22 Jun 2022 21:05:42 +0000 (21:05 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sat, 2 Jul 2022 10:48:14 +0000 (10:48 +0000)
commitdfbef72d3e433d5bf64abae5905f6245f10e2b1f
tree4728d7bb6efbce0b9e7fa3c81324cb3548482216
parent252379056fe841e1e0f8920bcc4d19a27ae71722
ext_session_acl: fix TDB key lookup (#1064)

When built with Samba TrivialDB, ext_session_acl would never
successfully look a session up due to an uninitialized key argument. As
a result, the helper would be unable to validate that an user had logged
in. Broken since TrivialDB support was added in acd207a.

Detected by Coverity. CID 1441979:  Uninitialized scalar variable
(UNINIT).
src/acl/external/session/ext_session_acl.cc