f5d8e05492a3d2552b54129344e37ca01d241832 |
|
01-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-mail: istream-attachment-extractor - Don't modify buffer during failure
If i_stream_read() returns -1 because the attachment file couldn't be
created, don't add the trailing data to the main istream. It's not useful,
and the following extra checks will cause it to assert-crash. |