2470. [bug] Elements of the isc_radix_node_t could be incorrectly
overwritten. [RT# 18719]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
||||
2470. [bug] Elements of the isc_radix_node_t could be incorrectly
|
||||
overwritten. [RT# 18719]
|
||||
|
||||
2469. [port] solaris: Work around Solaris's select() limitations.
|
||||
[RT #18769]
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: radix.c,v 1.9.6.10 2008/09/26 21:17:47 each Exp $ */
|
||||
/* $Id: radix.c,v 1.9.6.11 2008/10/23 00:04:11 marka Exp $ */
|
||||
|
||||
/*
|
||||
* This source was adapted from MRT's RCS Ids:
|
||||
@@ -445,7 +445,7 @@ isc_radix_insert(isc_radix_tree_t *radix, isc_radix_node_t **target,
|
||||
radix->num_added_node = next;
|
||||
}
|
||||
if (node->node_num[1] == -1) {
|
||||
node->node_num[2] = next;
|
||||
node->node_num[1] = next;
|
||||
radix->num_added_node = next;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user