mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix #4209: Crash in libunbound when called from getdns.
git-svn-id: file:///svn/unbound/trunk@4971 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
438634b718
commit
c97bb52d77
2 changed files with 3 additions and 2 deletions
|
|
@ -5,6 +5,7 @@
|
||||||
- pythonmod logs the python error and traceback on failure.
|
- pythonmod logs the python error and traceback on failure.
|
||||||
- ignore debug python module for test in doxygen output.
|
- ignore debug python module for test in doxygen output.
|
||||||
- review fixes for python module.
|
- review fixes for python module.
|
||||||
|
- Fix #4209: Crash in libunbound when called from getdns.
|
||||||
|
|
||||||
21 November 2018: Wouter
|
21 November 2018: Wouter
|
||||||
- Scrub NS records from NODATA responses as well.
|
- Scrub NS records from NODATA responses as well.
|
||||||
|
|
|
||||||
|
|
@ -657,8 +657,8 @@ libworker_event_done_cb(void* arg, int rcode, sldns_buffer* buf,
|
||||||
sec = 1;
|
sec = 1;
|
||||||
else if(s == sec_status_secure)
|
else if(s == sec_status_secure)
|
||||||
sec = 2;
|
sec = 2;
|
||||||
(*cb)(cb_arg, rcode, (void*)sldns_buffer_begin(buf),
|
(*cb)(cb_arg, rcode, (buf?(void*)sldns_buffer_begin(buf):NULL),
|
||||||
(int)sldns_buffer_limit(buf), sec, why_bogus, was_ratelimited);
|
(buf?(int)sldns_buffer_limit(buf):0), sec, why_bogus, was_ratelimited);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue