mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix #749: unbound-checkconf gets SIGSEGV when use against a
malformatted conf file. git-svn-id: file:///svn/unbound/trunk@3696 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
a7e6f630d7
commit
f101785ea1
2 changed files with 3 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
|||
24 March 2016: Wouter
|
||||
- Document permit-small-holddown for 5011 debug.
|
||||
- Fix #749: unbound-checkconf gets SIGSEGV when use against a
|
||||
malformatted conf file.
|
||||
|
||||
23 March 2016: Wouter
|
||||
- OpenSSL 1.1.0 portability, --disable-dsa configure option.
|
||||
|
|
|
|||
|
|
@ -294,6 +294,7 @@ make_stub_holes(struct iter_forwards* fwd, struct config_file* cfg)
|
|||
uint8_t* dname;
|
||||
size_t dname_len;
|
||||
for(s = cfg->stubs; s; s = s->next) {
|
||||
if(!s->name) continue;
|
||||
dname = sldns_str2wire_dname(s->name, &dname_len);
|
||||
if(!dname) {
|
||||
log_err("cannot parse stub name '%s'", s->name);
|
||||
|
|
|
|||
Loading…
Reference in a new issue