]> git.ipfire.org Git - thirdparty/squid.git/commit
Do not crash when sending %ssl::cert_subject to external ACL w/o certificate.
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 26 Sep 2014 10:01:19 +0000 (13:01 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 26 Sep 2014 10:01:19 +0000 (13:01 +0300)
commit7970e4cfd13bac4045a46f451c950dc003231594
tree9184bc4abd25ee2ded407852a313fc4fa368a4bd
parent869b432824fc0209896120f5ee7ce7cc5cd1cbcd
Do not crash when sending %ssl::cert_subject to external ACL w/o certificate.

An ACL check in ConnStateData::postHttpsAccept (e.g., when dealing with an
intercepted SSL connection) uses an HttpRequest object that is not yet linked
with the ConnStateData object. Do not blindly dereference the pointer to the
latter.

This is a Measurement Factory project
src/external_acl.cc