mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
1631. [bug] dns_journal_compact() could sometimes corrupt the
journal. [RT #11124]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
||||
1631. [bug] dns_journal_compact() could sometimes corrupt the
|
||||
journal. [RT #11124]
|
||||
|
||||
1630. [placeholder] queryperf-v6
|
||||
|
||||
1629. [placeholder] rt8753
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: journal.c,v 1.86 2004/03/05 05:09:20 marka Exp $ */
|
||||
/* $Id: journal.c,v 1.87 2004/05/11 22:20:13 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -2115,6 +2115,7 @@ index_to_disk(dns_journal_t *j) {
|
||||
}
|
||||
INSIST(p == j->rawindex + rawbytes);
|
||||
|
||||
CHECK(journal_seek(j, sizeof(journal_rawheader_t)));
|
||||
CHECK(journal_write(j, j->rawindex, rawbytes));
|
||||
}
|
||||
failure:
|
||||
|
Reference in New Issue
Block a user