When DNS64 filters a partially excluded AAAA RRset after a DNAME
restart, dns_message_findname() can return an existing message-owned
owner name while qctx->fname is released on the NXRRSET path.
Set owner case from the message-owned name used for attaching the
filtered rdataset, avoiding a stale alias to the released temporary
name.
}
dns_rdatalist_tordataset(myrdatalist, myrdataset);
- dns_rdataset_setownercase(myrdataset, name);
+ dns_rdataset_setownercase(myrdataset, mname);
client->query.attributes |= NS_QUERYATTR_NOADDITIONAL;
if (mname == name) {
if (qctx->dbuf != NULL) {