search for: istream_raw_mbox_is_valid_from

Displaying 1 result from an estimated 1 matches for "istream_raw_mbox_is_valid_from".

2008 Oct 27
1
Embedded "From<space>" Lines
...e of the "From<space>" verification check in istream_raw_mbox_get_body_size and the (actually correct) expected_body_size will be rejected. I have enclosed a simple diff that will work around this by adjusting the body_offset to point to the next line at the time of call to istream_raw_mbox_is_valid_from in istream_raw_mbox_get_body_size. This appears to handle the problem correctly in all the test cases I have. To anyone else who has run into this problem and gotten corrupted mailboxes as a result, I can also offer an mbox checker that will attempt to detect and repair this problem in ex...