]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix INSIST copy-paste error checking RADIX_V4 instead of RADIX_V6
authorOndřej Surý <ondrej@isc.org>
Wed, 11 Mar 2026 12:17:56 +0000 (13:17 +0100)
committerOndřej Surý <ondrej@isc.org>
Mon, 30 Mar 2026 17:01:29 +0000 (19:01 +0200)
commit98f5caea05f3140862581ddb3b7d3815a04ead2d
tree5eb4ef7a6f839f0420d7d59dc1827e9bdbfa4ce1
parente4399fc6b2689c23f2eeff148d9f0a321c29fa28
Fix INSIST copy-paste error checking RADIX_V4 instead of RADIX_V6

The INSIST in isc_radix_insert() checks node->data[RADIX_V4] and
node->node_num[RADIX_V4] twice due to a copy-paste error, never
verifying the RADIX_V6 fields.

Fix the second pair to check RADIX_V6.

(cherry picked from commit 3f15f2d9e5968d6e03c4dc89cd7aea097f9c3ced)
lib/isc/radix.c