]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix: dev: Harden dig's EDNS option parsing against malformed replies
authorOndřej Surý <ondrej@isc.org>
Fri, 1 May 2026 05:19:57 +0000 (07:19 +0200)
committerOndřej Surý <ondrej@isc.org>
Fri, 1 May 2026 05:19:57 +0000 (07:19 +0200)
commit7b87ab0236e3e63ceec613970ce3e7b2c054e459
treede8c079051fd8caa9f383db5ceffe5efd94288ed
parent5c66f1a2418ae93c454b07c03b2aef3a97e925cd
parent0d0f69db898975ab571db2433849f33814c930dd
fix: dev: Harden dig's EDNS option parsing against malformed replies

dig's parser for EDNS options in a DNS reply now stops cleanly when an
option declares a length that runs past the end of the option data,
rather than trusting the upstream OPT-record validator to reject the
reply first. This is a defensive change; behavior is unchanged in
practice.

Merge branch 'ondrej/dig-process-opt-edns-optlen-oob' into 'main'

See merge request isc-projects/bind9!11937