]> git.ipfire.org Git - thirdparty/bind9.git/commit
Handle large query IDs in xfer/ans5 properly 12097/head
authorŠtěpán Balážik <stepan@isc.org>
Tue, 26 May 2026 12:57:47 +0000 (14:57 +0200)
committerŠtěpán Balážik <stepan@isc.org>
Tue, 26 May 2026 13:48:26 +0000 (13:48 +0000)
commite0ef63532f82467d7e59e07e5531347ca6982040
tree002b09d57cca363da24db648275b67fe63822f9c
parentebb4e5e5b795dd0872cc42b389fd01dbe7f5952c
Handle large query IDs in xfer/ans5 properly

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.
bin/tests/system/xfer/ans5/ans.py