]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
fix a double-deref race condition in ESI processing (bug number forgotten - bugzilla...
authorrobertc <>
Sun, 15 Aug 2004 23:42:37 +0000 (23:42 +0000)
committerrobertc <>
Sun, 15 Aug 2004 23:42:37 +0000 (23:42 +0000)
src/ESI.cc

index 858edf394cc824ccc33a7e4fe622d06cf88fa87d..d74f8b7770a498cf2d47a39d2d16d7f81424bc5d 100644 (file)
@@ -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 */
 }