]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[9.20] fix: test: Handle large query IDs in xfer/ans5 properly
authorŠtěpán Balážik <stepan@isc.org>
Tue, 26 May 2026 13:50:38 +0000 (13:50 +0000)
committerŠtěpán Balážik <stepan@isc.org>
Tue, 26 May 2026 13:50:38 +0000 (13:50 +0000)
Previously, the server would crash if it received a query with an ID
close to 65535 in the badmessageid case, as adding 50 to it would not
fit in uint16.

This was an oversight in porting it from Perl to Python in
f9ed3650acdc2c5b38d8b36729b045ca63f983ef.

Fixes #6025.

Backport of MR !12097

Merge branch 'backport-stepan/fix-xfer-large-qid-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!12098


Trivial merge