]> git.ipfire.org Git - thirdparty/squid.git/commit
Deleting first fs left psstate->servers pointing to uninitialized memory
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Tue, 9 Dec 2014 19:29:01 +0000 (21:29 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Tue, 9 Dec 2014 19:29:01 +0000 (21:29 +0200)
commit076361789d377ffad125313fbfc32ed31922310b
treeab390b1463c1f0f83fe916f4704b4b9a3780fc4f
parentd88bcf6b1caa8e6f38fbb24efccc707a16ac36ab
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