]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix: dev: Fix port validation rejecting valid port 65535
authorOndřej Surý <ondrej@isc.org>
Sat, 14 Mar 2026 10:02:10 +0000 (11:02 +0100)
committerOndřej Surý <ondrej@isc.org>
Sat, 14 Mar 2026 10:02:10 +0000 (11:02 +0100)
commit38d0bbd0b873cb9eb3350d0d205db226f4d0318a
treec9a2087f98c41d0aabea931ebeb990054756bf50
parent29790af335394fe0eca8633e0e88a0676d0f1c1c
parent66ce33603b6b2ebd1dd651c8f12fa0675b913a07
fix: dev: Fix port validation rejecting valid port 65535

Three 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.

Merge branch 'ondrej/fix-port-validation-rejecting-valid-port-65535' into 'main'

See merge request isc-projects/bind9!11665