Commit a0159185df for bind
commit a0159185df2540957227c41719529f26f91a6db6
Author: Alessio Podda <alessio@isc.org>
Date: Wed Apr 1 08:10:21 2026 +0200
Use the correct RRSIG type in refresh_time()
refresh_time() decodes an RRSIG rdata into a dns_rdata_sig_t
struct instead of a dns_rdata_rrsig_t one.
This works because the two structs are identical and the build uses
-fno-strict-aliasing, but it is still an aliasing violation.
diff --git a/lib/dns/zone.c b/lib/dns/zone.c
index 357f8fb6fd..46afd466f9 100644
--- a/lib/dns/zone.c
+++ b/lib/dns/zone.c
@@ -8735,7 +8735,7 @@ refresh_time(dns_zonefetch_t *fetch, bool retry) {
uint32_t t;
dns_rdataset_t *sigset;
dns_rdata_t sigrr = DNS_RDATA_INIT;
- dns_rdata_sig_t sig;
+ dns_rdata_rrsig_t sig;
isc_stdtime_t now;
REQUIRE(fetch->fetchtype == ZONEFETCHTYPE_KEY);