From: Amos Jeffries Date: Tue, 2 Feb 2016 21:35:33 +0000 (+1300) Subject: Bug 4419: SIGSEGV crash in HierarchyLogEntry::note after r14505 X-Git-Tag: SQUID_4_0_5~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1ce66e29b428860507fd1d96e3a7b76970ac8bfe;p=thirdparty%2Fsquid.git Bug 4419: SIGSEGV crash in HierarchyLogEntry::note after r14505 --- diff --git a/src/FwdState.cc b/src/FwdState.cc index 2a30ebbfcd..6a878b3d88 100644 --- a/src/FwdState.cc +++ b/src/FwdState.cc @@ -807,8 +807,10 @@ FwdState::syncWithServerConn(const char *host) void FwdState::syncHierNote(const Comm::ConnectionPointer &server, const char *host) { - request->hier.note(server, host); - al->hier.note(server, host); + if (request) + request->hier.note(server, host); + if (al) + al->hier.note(server, host); } /**