mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
current_root was uninitialized at the start of dns_rbt_findnode(). This
has no real effect, but it's still good to fix it.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: rbt.c,v 1.105 2001/02/21 02:27:56 bwelling Exp $ */
|
||||
/* $Id: rbt.c,v 1.106 2001/02/21 23:21:28 bwelling Exp $ */
|
||||
|
||||
/* Principal Authors: DCL */
|
||||
|
||||
@@ -838,6 +838,7 @@ dns_rbt_findnode(dns_rbt_t *rbt, dns_name_t *name, dns_name_t *foundname,
|
||||
|
||||
saved_result = ISC_R_SUCCESS;
|
||||
current = rbt->root;
|
||||
current_root = rbt->root;
|
||||
|
||||
while (current != NULL) {
|
||||
NODENAME(current, ¤t_name);
|
||||
|
Reference in New Issue
Block a user