From b8faead9fe9aea494bd78a0f799ad9777dc46d18 Mon Sep 17 00:00:00 2001 From: Christos Tsantilas Date: Mon, 9 Jan 2012 16:34:31 +0200 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 9beb0a737b..7543265d0a 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -2702,7 +2702,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.3