mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
TSIG AXFR verify leaked memory when talking to a BIND 8 server.
This commit is contained in:
parent
0978cb57f3
commit
22057930cd
1 changed files with 4 additions and 1 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: message.c,v 1.129 2000/06/22 21:54:30 tale Exp $ */
|
||||
/* $Id: message.c,v 1.130 2000/06/23 02:07:58 bwelling Exp $ */
|
||||
|
||||
/***
|
||||
*** Imports
|
||||
|
|
@ -440,6 +440,9 @@ msgresetsigs(dns_message_t *msg, isc_boolean_t replying) {
|
|||
isc_mempool_put(msg->namepool, msg->tsigname);
|
||||
msg->tsig = NULL;
|
||||
msg->tsigname = NULL;
|
||||
} else if (msg->querytsig != NULL) {
|
||||
dns_rdataset_disassociate(msg->querytsig);
|
||||
isc_mempool_put(msg->rdspool, msg->querytsig);
|
||||
}
|
||||
if (msg->sig0 != NULL) {
|
||||
INSIST(dns_rdataset_isassociated(msg->sig0));
|
||||
|
|
|
|||
Loading…
Reference in a new issue