]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix malloc corruption from use-after-free in peer_select.cc
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 3 Apr 2014 10:22:52 +0000 (03:22 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 3 Apr 2014 10:22:52 +0000 (03:22 -0700)
commit3633974207ffbd8edd214c08dea9be0966334068
tree573425652e1820c7b1c0c6004b0792cce70cfb16
parentc6cdf6b3fc8b8727d36b75da90e2c91f2732d75e
Fix malloc corruption from use-after-free in peer_select.cc

* Cleanup peer server list of existing in ps_state destructor.

* Abort peer selection if the FwdState CBDATA reference has become
  invalid. ps_state::paths pointer is also invalid.
src/peer_select.cc