Project status, and adnshost core dump issue
Gavin Carr
gavin at openfusion.com.au
Sat Sep 11 18:49:27 BST 2010
Howdy,
The mailing list archives for this list and all the others on
chiark.greenend.org.uk are giving 403 errors, so I'm not sure
if this list/project are alive?
If so, I'm getting core dumps on SOA requests with adnshost
(from adns 1.4 on linux x86_64). An example is:
adnshost -t soa 221.128.66.in-addr.arpa
It's core dumping in cs_soa in types.c, line 1000, the
rrp->serial sprintf:
static adns_status cs_soa(vbuf *vb, const void *datap) {
const adns_rr_soa *rrp= datap;
char buf[20];
int i;
adns_status st;
st= csp_domain(vb,rrp->mname); if (st) return st;
CSP_ADDSTR(" ");
st= csp_mailbox(vb,rrp->rname); if (st) return st;
for (i=0; i<5; i++) {
sprintf(buf," %lu",(&rrp->serial)[i]);
CSP_ADDSTR(buf);
}
return adns_s_ok;
}
I've worked around it, but it'd be nice to get a proper
fix.
Thanks and regards,
Gavin
More information about the adns-discuss
mailing list