From 9ffcac37264c57cdf3950cc5ebecc9089e8fa84a Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 12 Mar 2026 08:51:51 +1100 Subject: [PATCH] Set length in dns_rdata_in_dhcid structure tostruct_in_dhcid was not setting the length field in the dns_rdata_in_dhcid structure. (cherry picked from commit cfa21d1e8bfa1efc952ae3e415d30e492856e1ea) --- lib/dns/rdata/in_1/dhcid_49.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/rdata/in_1/dhcid_49.c b/lib/dns/rdata/in_1/dhcid_49.c index e653aca742..3f70dc4a09 100644 --- a/lib/dns/rdata/in_1/dhcid_49.c +++ b/lib/dns/rdata/in_1/dhcid_49.c @@ -153,7 +153,7 @@ tostruct_in_dhcid(ARGS_TOSTRUCT) { if (dhcid->dhcid == NULL) { return ISC_R_NOMEMORY; } - + dhcid->length = region.length; dhcid->mctx = mctx; return ISC_R_SUCCESS; }