search for: rdatainfo

Displaying 2 results from an estimated 2 matches for "rdatainfo".

Did you mean: data_info
2007 May 21
1
[PATCH] Add support for ldns
...tbyname(const char *hostname, unsigned int rdclass, + unsigned int rdtype, unsigned int flags, + struct rrsetinfo **res) +{ + int result; unsigned int i; unsigned int j; + struct rrsetinfo *rrset = NULL; + + unsigned int index_ans; unsigned int index_sig; + struct rdatainfo *rdata; + + ldns_resolver * ldns_res; + ldns_rdf * domain = NULL; ldns_pkt * pkt; + ldns_rr_list * rrsigs = NULL; + ldns_rr_list * rrdata = NULL; + ldns_status err; + ldns_rr * rr; + + /* check for invalid class and type */ + if (rdclass > 0xffff || rdtype > 0xffff) { + result...
2012 Jun 29
2
[Bug 2022] ssh segfaults when using ldns, SSHFP, a DNSSEC-enabled resolver and a CNAME
...p.com.au> --- Patch applied, thanks. I still don't understand how it gets into this state since the space should be allocated immediately beforehand: if (rrset->rri_nsigs > 0) { rrset->rri_sigs = calloc(rrset->rri_nsigs, sizeof(struct rdatainfo)); What's rrset->rri_nsigs in the failure case? -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.