]> git.ipfire.org Git - thirdparty/bind9.git/commit
Check that buffer length in dns_message_renderbegin
authorMark Andrews <marka@isc.org>
Thu, 16 Nov 2023 00:15:49 +0000 (11:15 +1100)
committerMark Andrews <marka@isc.org>
Thu, 16 Nov 2023 00:15:49 +0000 (11:15 +1100)
commita06951323496ee084b49e01d436616adf2d67f1b
tree40c2c6dc1c44a29dbbce6cd3cda196d0dac96aba
parentdc25df18f32099fa4ac366435c55a51fe19c4657
Check that buffer length in dns_message_renderbegin

The maximum DNS message size is 65535 octets. Check that the buffer
being passed to dns_message_renderbegin does not exceed this as the
compression code assumes that all offsets are no bigger than this.
lib/dns/include/dns/message.h
lib/dns/message.c