]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] chg: nil: Fix INSIST copy-paste error checking RADIX_V4 instead of RADIX_V6
authorOndřej Surý <ondrej@isc.org>
Mon, 30 Mar 2026 17:02:15 +0000 (19:02 +0200)
committerOndřej Surý <ondrej@isc.org>
Mon, 30 Mar 2026 17:02:15 +0000 (19:02 +0200)
commit85ecb978f1e575bbd7a3874aca7d38d80934ec63
tree5eb4ef7a6f839f0420d7d59dc1827e9bdbfa4ce1
parente4399fc6b2689c23f2eeff148d9f0a321c29fa28
parent98f5caea05f3140862581ddb3b7d3815a04ead2d
[9.20] chg: nil: 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.

Backport of MR !11664

Merge branch 'backport-ondrej/fix-copy-paste-error-checking-RADIX_V4-instead-of-RADIX_V6-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!11686