bind9/bin
Michał Kępień 24b9ec555a Do not treat a referral with a non-empty ANSWER section as an error
As part of resquery_response() refactoring [1], a goto statement was
replaced [2] with a call to a new function - originally called
rctx_delegation(), now folded into rctx_answer_none() - extracted from
existing code.  However, one call site of that refactored function does
not reset the "result" variable, causing a referral with a non-empty
ANSWER section to be inadvertently treated as an error, which prevents
resolution of names reliant on servers sending such responses.  Fix by
resetting the "result" variable to ISC_R_SUCCESS when a response
containing a non-empty ANSWER section can be treated as a delegation.

[1] see RT #45362

[2] see commit e1380a16741a3b4a57e54d7a9ce09dd12691522f
2018-08-22 10:14:37 +02:00
..
check Add @OPENSSL_LIB@ to Windows project files as needed 2018-08-10 16:45:00 +02:00
confgen Add @OPENSSL_LIB@ to Windows project files as needed 2018-08-10 16:45:00 +02:00
delv Add @OPENSSL_LIB@ to Windows project files as needed 2018-08-10 16:45:00 +02:00
dig Remove unthreaded support 2018-08-16 17:18:52 +02:00
dnssec Add @OPENSSL_LIB@ to Windows project files as needed 2018-08-10 16:45:00 +02:00
named Remove unthreaded support 2018-08-16 17:18:52 +02:00
nsupdate Add @OPENSSL_LIB@ to Windows project files as needed 2018-08-10 16:45:00 +02:00
pkcs11 Add @OPENSSL_LIB@ to Windows project files as needed 2018-08-10 16:45:00 +02:00
python Revert "Merge branch 'modified-manual-install-oot' into 'master'" 2018-08-02 10:23:30 -04:00
rndc Add @OPENSSL_LIB@ to Windows project files as needed 2018-08-10 16:45:00 +02:00
tests Do not treat a referral with a non-empty ANSWER section as an error 2018-08-22 10:14:37 +02:00
tools Replace "config.h" with <config.h> 2018-08-16 12:45:59 +02:00
win32/BINDInstall Add @OPENSSL_LIB@ to Windows project files as needed 2018-08-10 16:45:00 +02:00
Makefile.in reduce race risk in parallel builds 2018-03-09 14:12:50 -08:00