Skip to content
Snippets Groups Projects
Commit 7ad03ff1 authored by Jan Kadlec's avatar Jan Kadlec
Browse files

Do not insert empty RDATA to RDATA lists.

parent 94c96b73
No related branches found
No related tags found
No related merge requests found
......@@ -468,6 +468,11 @@ void knot_changes_add_rdata(knot_rrset_t **rdatas, int *count,
return;
}
if (rrset->rdata_count == 0) {
dbg_xfrin("Inserting empty RDATA!\n");
return;
}
rrset->rrsigs = NULL;
rdatas[*count] = rrset;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment