Commit 9be2770c authored by Marek Vavrusa's avatar Marek Vavrusa

Fixed some cases of multiple diffs in IXFR.

parent 9acc8827
Knot DNS NEWS
v1.3.0-rc3 - ??
---------------
Bugfixes:
* IXFR with an arbitrary number of diffs
v1.3.0-rc2 - Jun 14, 2013
-------------------------
......
......@@ -1159,15 +1159,14 @@ dbg_xfrin_exec_verb(
} else {
// normal SOA, start new changeset
(*chs)->count++;
++cur;
if ((ret = knot_changesets_check_size(*chs))
!= KNOT_EOK) {
(*chs)->count--;
--cur;
knot_rrset_deep_free(&rr, 1, 1);
goto cleanup;
}
cur = (*chs)->sets + ((*chs)->count - 1);
ret = knot_changeset_add_soa(cur, rr,
KNOT_CHANGESET_REMOVE);
if (ret != KNOT_EOK) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment