+4114. [bug] Fix a regression in radix tree implementation
+ introduced by ECS code. This bug was never
+ released, but it was reported by a user testing
+ master. [RT #38983]
+
4113. [test] Check for Net::DNS is some system test
prerequisites. [RT #39369]
--- /dev/null
+acl a { 127.0.0.1; ::1; };
+acl b { a; };
+acl c { !b; };
+
+options {
+ allow-query { c; };
+};
if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret`
-for bad in bad*.conf
+for bad in bad-*.conf
do
ret=0
echo "I: checking that named-checkconf detects error in $bad"
status=`expr $status + $ret`
done
+for good in good-*.conf
+do
+ ret=0
+ echo "I: checking that named-checkconf detects no error in $good"
+ $CHECKCONF $good > /dev/null 2>&1
+ if [ $? != 0 ]; then echo "I:failed"; ret=1; fi
+ status=`expr $status + $ret`
+done
+
echo "I: checking that named-checkconf -z catches missing hint file"
ret=0
$CHECKCONF -z hint-nofile.conf > hint-nofile.out 2>&1 && ret=1
}
new_node->parent = NULL;
new_node->l = new_node->r = NULL;
- for (i = 0; i < 4; i++)
+ for (i = 0; i < 4; i++) {
new_node->node_num[i] = -1;
+ new_node->data[i] = NULL;
+ }
radix->num_active_node++;
if (source != NULL) {