2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

1545. [bug] It was possible to leak memory if named was unable to

bind to the specified transfer source and TSIG was
                        being used. [RT #10120]
This commit is contained in:
Mark Andrews 2004-01-05 04:21:30 +00:00
parent 6f3e68a8db
commit 0e0d2891c0
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
1545. [bug] It was possible to leak memory if named was unable to
bind to the specified transfer source and TSIG was
being used. [RT #10120]
1544. [placeholder] rt10147
1543. [placeholder] rt10147

View File

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: zone.c,v 1.402 2003/11/04 05:23:31 marka Exp $ */
/* $Id: zone.c,v 1.403 2004/01/05 04:21:30 marka Exp $ */
#include <config.h>
@ -3947,11 +3947,11 @@ soa_query(isc_task_t *task, isc_event_t *event) {
dns_result_totext(result));
goto cleanup;
}
if (key != NULL)
dns_tsigkey_detach(&key);
cancel = ISC_FALSE;
cleanup:
if (key != NULL)
dns_tsigkey_detach(&key);
if (result != ISC_R_SUCCESS)
DNS_ZONE_CLRFLAG(zone, DNS_ZONEFLG_REFRESH);
if (message != NULL)