]> 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)
committerAmos Jeffries <yadij@users.noreply.github.com>
Mon, 22 Aug 2022 15:09:12 +0000 (03:09 +1200)
commite95ed123bb7a64f6cb1bca7ab0ea2c01669a9f2d
tree1ae83e0a3a66a34f8aa86dae23d2857cf5ba0d32
parent8bb78397f9ae02a9b4bd0d18907b25a5d04108f2
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