bind9/lib
Michał Kępień 367b973835 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

(cherry picked from commit 24b9ec555a)
2018-08-22 10:16:08 +02:00
..
bind9 Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
dns Do not treat a referral with a non-empty ANSWER section as an error 2018-08-22 10:16:08 +02:00
irs Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
isc We want to install compatibility shim isc/int.h and isc/boolean.h headers 2018-08-22 09:22:35 +02:00
isccc Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
isccfg Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
ns Fix !!validate typo to -> !validate 2018-08-11 10:28:27 +02:00
samples Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
win32/bindevt Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:19:35 +02:00
.gitignore added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
Atffile [master] add libns and remove liblwres 2017-09-08 13:47:34 -07:00
Kyuafile regen v9_12 2017-12-29 02:16:29 +00:00
Makefile.in remove lib/tests as nothing uses it anymore 2018-03-09 14:39:57 -08:00