]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix port validation rejecting valid port 65535
authorOndřej Surý <ondrej@sury.org>
Wed, 11 Mar 2026 12:18:01 +0000 (13:18 +0100)
committerOndřej Surý <ondrej@sury.org>
Sat, 14 Mar 2026 09:11:55 +0000 (10:11 +0100)
commit66ce33603b6b2ebd1dd651c8f12fa0675b913a07
treec9a2087f98c41d0aabea931ebeb990054756bf50
parent29790af335394fe0eca8633e0e88a0676d0f1c1c
Fix port validation rejecting valid port 65535

A few port validation checks use >= UINT16_MAX instead of > UINT16_MAX,
incorrectly rejecting port 65535 as out of range.  Port 65535 is a valid
TCP/UDP port number.  Other port checks in the same file already use the
correct > comparison.
bin/named/config.c
bin/named/server.c
lib/isccfg/check.c