From: robertc <> Date: Sun, 15 Aug 2004 23:42:37 +0000 (+0000) Subject: fix a double-deref race condition in ESI processing (bug number forgotten - bugzilla... X-Git-Tag: SQUID_3_0_PRE4~1070 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6269c7b120e077ef8190c21992d25a15b99ffaab;p=thirdparty%2Fsquid.git fix a double-deref race condition in ESI processing (bug number forgotten - bugzilla down :[ --- diff --git a/src/ESI.cc b/src/ESI.cc index 858edf394c..d74f8b7770 100644 --- a/src/ESI.cc +++ b/src/ESI.cc @@ -1,6 +1,6 @@ /* - * $Id: ESI.cc,v 1.6 2003/08/10 11:00:40 robertc Exp $ + * $Id: ESI.cc,v 1.7 2004/08/15 17:42:37 robertc Exp $ * * DEBUG: section 86 ESI processing * AUTHOR: Robert Collins @@ -1452,6 +1452,7 @@ ESIContext::freeResources () ESISegmentFreeList (outbound); ESISegmentFreeList (outboundtail); delete varState; + varState=NULL; /* don't touch incoming, it's a pointer into buffered anyway */ }