Skip to content

Correct size calculation in dns_journal_iter_init()

  • dns_journal_next() leaves the read point in the journal after the transaction header so journal_seek() should be inside the loop.
  • we need to recover from transaction header inconsistencies

Additionally when correcting for <size, serial0, serial1, 0> the correct consistency check is isc_serial_gt() rather than isc_serial_ge(). All instances updated.

(cherry picked from commit 00609f50)

Closes #2685 (closed)

Merge request reports