From: Christos Tsantilas Date: Tue, 17 Jan 2012 08:46:52 +0000 (-0700) Subject: Bug 3472: segfault with the message 'urlParse: URL too large' X-Git-Tag: SQUID_3_2_0_15~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de09f391e682182f27176bedf54eb10c5d97ea33;p=thirdparty%2Fsquid.git Bug 3472: segfault with the message 'urlParse: URL too large' --- diff --git a/src/client_side.cc b/src/client_side.cc index aecd11c0ad..ca87c70e1f 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -2701,7 +2701,7 @@ finish: * be freed and the above connNoteUseOfBuffer() would hit an * assertion, not to mention that we were accessing freed memory. */ - if (http->request->flags.resetTCP() && Comm::IsConnOpen(conn->clientConnection)) { + if (request && request->flags.resetTCP() && Comm::IsConnOpen(conn->clientConnection)) { debugs(33, 3, HERE << "Sending TCP RST on " << conn->clientConnection); conn->flags.readMore = false; comm_reset_close(conn->clientConnection);