]> git.ipfire.org Git - thirdparty/squid.git/commit
Deleting first fs left psstate->servers pointing to uninitialized memory
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Thu, 18 Dec 2014 14:36:23 +0000 (06:36 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 18 Dec 2014 14:36:23 +0000 (06:36 -0800)
commitfd46ce1d7042c19545f4d94d4014a2c81d907629
tree6e09b35225d9e87a33a9bf6403d4fc32df05f22d
parent581b1d6f45d70be0f5e36234d35025ae2b9d17ef
Deleting first fs left psstate->servers pointing to uninitialized memory

 ... possibly causing infinite loops in peerAddFwdServer().

TODO: The condition itself is excessive. If fs is not nil, the previous check
already tells us that the Config.forward_max_tries limit is exceeded.
src/peer_select.cc