- Fix rpz that copies the cname override completely to the temp

region, so there are no references to the rpz region.
This commit is contained in:
W.C.A. Wijngaards
2024-03-18 13:52:59 +01:00
parent 39cfc8c1c0
commit e6b1f9a4c3
2 changed files with 3 additions and 2 deletions
+2
View File
@@ -2,6 +2,8 @@
- Fix that rpz CNAME content is limited to the max number of cnames.
- Fix rpz, it follows iterator CNAMEs for nsip and nsdname and sets
the reply query_info values, that is better for debug logging.
- Fix rpz that copies the cname override completely to the temp
region, so there are no references to the rpz region.
15 March 2024: Yorgos
- Merge #1030: Persist the openssl and expat directories for repeated
+1 -2
View File
@@ -1888,8 +1888,7 @@ rpz_apply_cname_override_action(struct rpz* r,
sizeof(struct local_rrset));
if(qinfo->local_alias == NULL)
return 0; /* out of memory */
qinfo->local_alias->rrset = regional_alloc_init(temp,
r->cname_override, sizeof(*r->cname_override));
qinfo->local_alias->rrset = respip_copy_rrset(r->cname_override, temp);
if(qinfo->local_alias->rrset == NULL) {
qinfo->local_alias = NULL;
return 0; /* out of memory */