]> git.ipfire.org Git - thirdparty/bind9.git/commit
Update dns_journal_compact() to handle bad transaction headers
authorMark Andrews <marka@isc.org>
Wed, 31 Mar 2021 04:03:33 +0000 (15:03 +1100)
committerOndřej Surý <ondrej@isc.org>
Wed, 7 Apr 2021 18:23:46 +0000 (20:23 +0200)
commit83310ffd92faa2777e3841f548a1cc12ddb5a8eb
tree87ffe53d292ef8a2a7e226994e6469e76de98d14
parent520509ac7e8bd2fea27b937620688289c2e20b29
Update dns_journal_compact() to handle bad transaction headers

Previously, dns_journal_begin_transaction() could reserve the wrong
amount of space.  We now check that the transaction is internally
consistent when upgrading / downgrading a journal and we also handle the
bad transaction headers.
lib/dns/journal.c