Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib-storage: Fix truncating header values at NUL when adding to cache
For example FETCH BODY.PEEK[HEADER.FIELDS (Subject)] could have returned the NUL on the first fetch when the mail wasn't in dovecot.index.cache, but the second FETCH would have returned it truncated at the NUL.
- Loading branch information