From: rousskov <> Date: Tue, 19 Feb 2008 05:51:21 +0000 (+0000) Subject: Bug 2230 possible fix: segmentation fault with a "pure virtual method called" X-Git-Tag: BASIC_TPROXY4~71 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7c70e7e5da70cad95eadbd892fe995c6e7d19f7c;p=thirdparty%2Fsquid.git Bug 2230 possible fix: segmentation fault with a "pure virtual method called" Added forgotten member initializations. For so many years I have wished that GCC would warn about these things :-(! This change may not be enough to fix the bug. --- diff --git a/src/Server.cc b/src/Server.cc index a65238553b..3e4890e733 100644 --- a/src/Server.cc +++ b/src/Server.cc @@ -1,5 +1,5 @@ /* - * $Id: Server.cc,v 1.25 2008/02/12 23:55:26 rousskov Exp $ + * $Id: Server.cc,v 1.26 2008/02/18 22:51:21 rousskov Exp $ * * DEBUG: * AUTHOR: Duane Wessels @@ -47,7 +47,9 @@ extern ICAPConfig TheICAPConfig; ServerStateData::ServerStateData(FwdState *theFwdState): AsyncJob("ServerStateData"),requestSender(NULL) #if ICAP_CLIENT + , adaptedHeadSource(NULL) , icapAccessCheckPending(false) + , startedIcap(false) #endif { fwd = theFwdState;