Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib-storage: Prevent recursion in header parsing
If header parsing error occurs and error handling tries to get fields, such as Message-ID, it will cause crash. This fixes problem by preventing reading from non-cached headers while they are being parsed. Fixes lmtp: Panic: file ../../../src/lib/array.h: line 219 (array_idx_i): assertion failed: (idx * array->element_size < array->buffer->used)
- Loading branch information