From: W.C.A. Wijngaards Date: Thu, 8 Apr 2021 11:47:06 +0000 (+0200) Subject: - Fix for #411: Depth protect for crash on deleted element timeout. X-Git-Tag: release-1.13.2rc1~201 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7396eff7af10eb85bee277ad06e2858cfa6f553e;p=thirdparty%2Funbound.git - Fix for #411: Depth protect for crash on deleted element timeout. --- diff --git a/doc/Changelog b/doc/Changelog index 66e6f9a48..147775427 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +7 April 2021: Wouter + - Fix for #411: Depth protect for crash on deleted element timeout. + 1 April 2021: Wouter - Merge #460 from orbea: build: Link with the libtool archive. - Fix to stop IPv6 PMTU discovery. diff --git a/services/outside_network.c b/services/outside_network.c index 9769b7602..d5340d8c2 100644 --- a/services/outside_network.c +++ b/services/outside_network.c @@ -721,7 +721,7 @@ static void waiting_tcp_callback(struct waiting_tcp* w, struct comm_point* c, int error, struct comm_reply* reply_info) { - if(w->cb) { + if(w && w->cb) { fptr_ok(fptr_whitelist_pending_tcp(w->cb)); (void)(*w->cb)(c, w->cb_arg, error, reply_info); }