]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 4845: NegotiateSsl crash on aborting transaction (#201)
authorChristos Tsantilas <christos@chtsanti.net>
Sun, 6 May 2018 11:00:38 +0000 (11:00 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sun, 6 May 2018 12:40:39 +0000 (12:40 +0000)
commitce9bb79cc34c02977424d07579bb797494b0eb93
tree7be508095e803f398ad51eafa25287a1f9735970
parentd4c6acacd6fb0e4db0a087cdccfd643f6e411513
Bug 4845: NegotiateSsl crash on aborting transaction (#201)

Security::PeerConnector::NegotiateSsl() might be called after the
Security::PeerConnector object is gone. This race condition is present
on both regular SSL and SslBump code paths, but sightings are rare.

This bug shares the underlying cause (and the solution) with bug 3505.
TODO: Adjust Comm::SetSelect() API to prevent future bugs like this.

This is a Measurement Factory project.
src/security/PeerConnector.cc
src/security/PeerConnector.h