]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] fix: usr: Clear REDIRECT flag when it isn't needed
authorMichał Kępień <michal@isc.org>
Thu, 21 May 2026 13:11:32 +0000 (15:11 +0200)
committerMichał Kępień <michal@isc.org>
Thu, 21 May 2026 13:11:32 +0000 (15:11 +0200)
commit86bb27060cef29bed8353b308997c0b82eb495ce
treeed6e78d03dee376e9b9e0666c3e07937d68f0395
parenta59080c0534fb4ce7e489eb70fb29196dcbdc4bb
parentd1a32c003c6dc54fd336288bcc63cff7a8202e9d
[9.20] fix: usr: Clear REDIRECT flag when it isn't needed

When `nxdomain-redirect` is in use, and a recursive query is used to get the redirected answer, a flag is set to distinguish it from a normal recursive response. Previously, that flag was left set afterward, which could trigger an assertion if a normal recursive query was sent later on behalf of the same client: for example, because the `filter-aaaa` plugin was in use.  This has been fixed.

Closes #5936

Backport of MR !12073

Merge branch 'backport-5936-clear-redirect-flag-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!12076