2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

fix assertion in tkey code [RT #1866]

This commit is contained in:
Brian Wellington
2001-10-09 17:26:33 +00:00
parent 3fc4c1434d
commit 173a45b43c

View File

@@ -16,7 +16,7 @@
*/
/*
* $Id: tkey.c,v 1.71 2001/08/08 22:54:43 gson Exp $
* $Id: tkey.c,v 1.72 2001/10/09 17:26:33 bwelling Exp $
*/
#include <config.h>
@@ -643,7 +643,8 @@ dns_tkey_processquery(dns_message_t *msg, dns_tkeyctx_t *tctx,
if (!dns_name_equal(qname, dns_rootname)) {
unsigned int n = dns_name_countlabels(qname);
dns_name_getlabelsequence(qname, 0, n - 1, keyname);
dns_name_copy(qname, keyname, NULL);
dns_name_getlabelsequence(keyname, 0, n - 1, keyname);
}
else {
static char hexdigits[16] = {