]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2470. [bug] Elements of the isc_radix_node_t could be incorrectly
authorMark Andrews <marka@isc.org>
Thu, 23 Oct 2008 00:00:58 +0000 (00:00 +0000)
committerMark Andrews <marka@isc.org>
Thu, 23 Oct 2008 00:00:58 +0000 (00:00 +0000)
                        overwritten.  [RE# 18719]

CHANGES
lib/isc/radix.c

diff --git a/CHANGES b/CHANGES
index b026213ec153807ba81e8012ef6b22599589732a..ac6cf52f6af95179b4120c9fcb40dd1392a153ce 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -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.
                        [RT #18769]
 
index 754a9cdda415e97dc55cf9172dfa17b79b044842..c223e8acc9d45c7a6f2871b6a246ec250f39ccad 100644 (file)
@@ -14,7 +14,7 @@
  * 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:
@@ -446,7 +446,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 {