mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-05 06:19:35 -05:00
- Fix #528: if very high logging (4 or more) segfault on allow_snoop.
git-svn-id: file:///svn/unbound/trunk@2994 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
5e6ac36076
commit
c1ce3e10d8
2 changed files with 2 additions and 1 deletions
|
|
@ -5,6 +5,7 @@
|
|||
ub_resolve_event – the cfglock is held when libworker_create is
|
||||
called. This ends up trying to acquire the lock again in
|
||||
context_obtain_alloc in the call chain.
|
||||
- Fix #528: if very high logging (4 or more) segfault on allow_snoop.
|
||||
|
||||
26 Sep 2013: Wouter
|
||||
- unbound-event.h is installed if configured --with-libevent. It
|
||||
|
|
|
|||
|
|
@ -1212,7 +1212,7 @@ processInitRequest3(struct module_qstate* qstate, struct iter_qstate* iq,
|
|||
* cached referral as the response. */
|
||||
if(!(qstate->query_flags & BIT_RD)) {
|
||||
iq->response = iq->deleg_msg;
|
||||
if(verbosity >= VERB_ALGO)
|
||||
if(verbosity >= VERB_ALGO && iq->response)
|
||||
log_dns_msg("no RD requested, using delegation msg",
|
||||
&iq->response->qinfo, iq->response->rep);
|
||||
if(qstate->reply_origin)
|
||||
|
|
|
|||
Loading…
Reference in a new issue