a556e29bb9e48968b88c783148f3308bf90c7912 |
|
15-Dec-2015 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-mail: message_header_parser_next() updates istream position immediately now.
Earlier it updated the position only on the next call or at deinit. This was
because some earlier code kept pointers to the stream data and stored them
to the returned struct message_header_line, but we don't do this anymore.
This allows more easily accessing the same istream for other purposes during
the header parsing. |
4bd6702bfcb3568959acdb3cb68450aa76ed703b |
|
20-May-2011 |
Timo Sirainen <tss@iki.fi> |
message header parser: Allow NULs in header name also when header is missing ':'.
This doesn't fix any crashes/corruption unlike the earlier fix, but it makes
the code more correct. Although it might help with mbox rewriting seeing
some size mismatches (or might not). |