- (dtucker) [openbsd-compat/getrrsetbyname-ldns.c] bz #2022: prevent null

pointer deref in the client when built with LDNS and using DNSSEC with a
   CNAME.  Patch from gregdlg+mr at hochet info.
This commit is contained in:
Darren Tucker 2012-06-28 15:21:32 +10:00
parent 62dcd63f5e
commit 8908da7dce
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
20120628
- (dtucker) [openbsd-compat/getrrsetbyname-ldns.c] bz #2022: prevent null
pointer deref in the client when built with LDNS and using DNSSEC with a
CNAME. Patch from gregdlg+mr at hochet info.
20120622
- (dtucker) [contrib/cygwin/ssh-host-config] Ensure that user sshd runs as
can logon as a service. Patch from vinschen at redhat com.

View File

@ -205,7 +205,8 @@ getrrsetbyname(const char *hostname, unsigned int rdclass,
}
if (rr->_rr_class == rrset->rri_rdclass &&
rr->_rr_type == LDNS_RR_TYPE_RRSIG) {
rr->_rr_type == LDNS_RR_TYPE_RRSIG &&
rrset->rri_sigs) {
rdata = &rrset->rri_sigs[index_sig++];
}