Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib-index: Fix potential crash after resetting index
The log's sync_offset wasn't updated after the reset if there were no other changes. This ended up in a broken state in mail_transaction_log_append_locked() where it thought there was garbage at the end of the transaction log, and crashed trying to truncate it.
- Loading branch information