2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-01 15:05:23 +00:00

2470. [bug] Elements of the isc_radix_node_t could be incorrectly

overwritten.  [RE# 18719]
This commit is contained in:
Mark Andrews
2008-10-23 00:00:58 +00:00
parent e1a1e86485
commit 0d444dc136
2 changed files with 5 additions and 2 deletions

View File

@@ -1,3 +1,6 @@
2470. [bug] Elements of the isc_radix_node_t could be incorrectly
overwritten. [RE# 18719]
2469. [port] solaris: Work around Solaris's select() limitations. 2469. [port] solaris: Work around Solaris's select() limitations.
[RT #18769] [RT #18769]

View File

@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: radix.c,v 1.19 2008/09/26 21:12:02 each Exp $ */ /* $Id: radix.c,v 1.20 2008/10/23 00:00:58 marka Exp $ */
/* /*
* This source was adapted from MRT's RCS Ids: * This source was adapted from MRT's RCS Ids:
@@ -446,7 +446,7 @@ isc_radix_insert(isc_radix_tree_t *radix, isc_radix_node_t **target,
radix->num_added_node = next; radix->num_added_node = next;
} }
if (node->node_num[1] == -1) { if (node->node_num[1] == -1) {
node->node_num[2] = next; node->node_num[1] = next;
radix->num_added_node = next; radix->num_added_node = next;
} }
} else { } else {