2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

journal index array was corrupted on write

This commit is contained in:
Andreas Gustafsson
2000-12-22 23:37:03 +00:00
parent e4c6adf028
commit e0a90d7579

View File

@@ -15,7 +15,7 @@
* 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>
@@ -1157,7 +1157,7 @@ dns_journal_commit(dns_journal_t *j) {
}
INSIST(p == j->rawindex + rawbytes);
CHECK(journal_write(j, j->index, rawbytes));
CHECK(journal_write(j, j->rawindex, rawbytes));
}
/*