mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 06:55:30 +00:00
journal index array was corrupted on write
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: journal.c,v 1.69 2000/12/11 19:24:08 bwelling Exp $ */
|
/* $Id: journal.c,v 1.70 2000/12/22 23:37:03 gson Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -1157,7 +1157,7 @@ dns_journal_commit(dns_journal_t *j) {
|
|||||||
}
|
}
|
||||||
INSIST(p == j->rawindex + rawbytes);
|
INSIST(p == j->rawindex + rawbytes);
|
||||||
|
|
||||||
CHECK(journal_write(j, j->index, rawbytes));
|
CHECK(journal_write(j, j->rawindex, rawbytes));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user