--------------------- PatchSet 423 Date: 2002/12/20 06:02:15 Author: rbcollins Branch: esi Tag: (none) Log: prevent http->conn dereferences on internal requests Members: src/client_side.cc:1.6.2.3->1.6.2.4 Index: squid3/src/client_side.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/client_side.cc,v retrieving revision 1.6.2.3 retrieving revision 1.6.2.4 diff -u -r1.6.2.3 -r1.6.2.4 --- squid3/src/client_side.cc 20 Dec 2002 04:21:59 -0000 1.6.2.3 +++ squid3/src/client_side.cc 20 Dec 2002 06:02:15 -0000 1.6.2.4 @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.6.2.3 2002/12/20 04:21:59 rbcollins Exp $ + * $Id: client_side.cc,v 1.6.2.4 2002/12/20 06:02:15 rbcollins Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -423,7 +423,8 @@ if (http->conn && http->conn->rfc931[0]) http->al.cache.rfc931 = http->conn->rfc931; #if USE_SSL - http->al.cache.ssluser = sslGetUserEmail(fd_table[http->conn->fd].ssl); + if (http->conn) + http->al.cache.ssluser = sslGetUserEmail(fd_table[http->conn->fd].ssl); #endif accessLogLog(&http->al); accessLogFreeMemory(&http->al);