mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-22 23:01:43 -04:00
uninitialized variable
This commit is contained in:
parent
8358be5851
commit
cbb781f277
1 changed files with 2 additions and 3 deletions
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
|
||||
/*
|
||||
* $Id: dnssec.c,v 1.66 2001/05/10 06:05:54 bwelling Exp $
|
||||
* $Id: dnssec.c,v 1.67 2001/05/29 22:54:07 bwelling Exp $
|
||||
*/
|
||||
|
||||
|
||||
|
|
@ -542,7 +542,7 @@ dns_dnssec_signmessage(dns_message_t *msg, dst_key_t *key) {
|
|||
unsigned char header[DNS_MESSAGE_HEADERLEN];
|
||||
isc_buffer_t headerbuf, databuf, sigbuf;
|
||||
unsigned int sigsize;
|
||||
isc_buffer_t *dynbuf;
|
||||
isc_buffer_t *dynbuf = NULL;
|
||||
dns_rdata_t *rdata;
|
||||
dns_rdatalist_t *datalist;
|
||||
dns_rdataset_t *dataset;
|
||||
|
|
@ -634,7 +634,6 @@ dns_dnssec_signmessage(dns_message_t *msg, dst_key_t *key) {
|
|||
|
||||
rdata = NULL;
|
||||
RETERR(dns_message_gettemprdata(msg, &rdata));
|
||||
dynbuf = NULL;
|
||||
RETERR(isc_buffer_allocate(msg->mctx, &dynbuf, 1024));
|
||||
RETERR(dns_rdata_fromstruct(rdata, dns_rdataclass_any,
|
||||
dns_rdatatype_sig, &sig, dynbuf));
|
||||
|
|
|
|||
Loading…
Reference in a new issue