]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug fix: In the case of an error while accessing a gopher server, squid will crash
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Sat, 7 Aug 2010 15:38:22 +0000 (18:38 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Sat, 7 Aug 2010 15:38:22 +0000 (18:38 +0300)
commitd2b3e30eb664aa1c87e95a1d48e41cd7796481d2
tree02373a6f6570c45527e93dca7927fa816ad39640
parentbae917acf060ee38d25ae0e893b38e33368185da
Bug fix: In the case of an error while accessing a gopher server, squid will crash

The GopherStateData::req  used to retrieve the releated HttpRequest object in
gopherSendComplete function when a server while accessing the server occurs.

The GopherStateData::req is never assigned and it is always NULL (should be
removed?). The gopherState->fwd->request must be used instead.
src/gopher.cc