From de09f391e682182f27176bedf54eb10c5d97ea33 Mon Sep 17 00:00:00 2001 From: Christos Tsantilas Date: Tue, 17 Jan 2012 01:46:52 -0700 Subject: [PATCH] Bug 3472: segfault with the message 'urlParse: URL too large' --- src/client_side.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.2