2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

4854. [bug] query_synthcnamewildcard should stop generating the

response if query_synthwildcard fails. [RT #46939]
This commit is contained in:
Mark Andrews
2018-01-03 10:07:42 +11:00
parent 05612f43a9
commit c9ee9718ae
2 changed files with 7 additions and 0 deletions

View File

@@ -8549,6 +8549,10 @@ query_synthcnamewildcard(query_ctx_t *qctx, dns_rdataset_t *rdataset,
dns_rdata_cname_t cname;
result = query_synthwildcard(qctx, rdataset, sigrdataset);
if (result != ISC_R_SUCCESS) {
return (result);
}
qctx->client->query.attributes |= NS_QUERYATTR_PARTIALANSWER;
/*