[dovecot/core] cd0fe9: lib-mail: istream-attachment-extractor - remove un...
GitHub
noreply at github.com
Fri Dec 23 19:00:11 UTC 2016
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: cd0fe951e5f5f158201d1c13096b2ac0796f377f
https://github.com/dovecot/core/commit/cd0fe951e5f5f158201d1c13096b2ac0796f377f
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-12-23 (Fri, 23 Dec 2016)
Changed paths:
M src/lib-mail/istream-attachment-extractor.c
Log Message:
-----------
lib-mail: istream-attachment-extractor - remove unnecessary code
It's enough to set the stream_errno.
Commit: 3979d59aa4e45a49f101eb8a1301e4c2e1eee727
https://github.com/dovecot/core/commit/3979d59aa4e45a49f101eb8a1301e4c2e1eee727
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-12-23 (Fri, 23 Dec 2016)
Changed paths:
M src/lib-mail/istream-attachment-extractor.c
Log Message:
-----------
lib-mail: istream-attachment-extractor - use EIO for internal errors
These happen only if the attachment writing failed for some reason.
The input stream itself can't have any errors, so EINVAL isn't proper.
Commit: 9d0be57bcc352f776a327d7e2a6c6232137f4a04
https://github.com/dovecot/core/commit/9d0be57bcc352f776a327d7e2a6c6232137f4a04
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-12-23 (Fri, 23 Dec 2016)
Changed paths:
M src/lib-mail/test-istream-attachment.c
Log Message:
-----------
lib-mail: Improve istream-attachment-extractor unit test for EIO errors
Commit: aba4cdf6d9de7d0a900933f390df8a822bbdc08c
https://github.com/dovecot/core/commit/aba4cdf6d9de7d0a900933f390df8a822bbdc08c
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-12-23 (Fri, 23 Dec 2016)
Changed paths:
M src/lib-storage/index/istream-mail.c
Log Message:
-----------
lib-storage: istream-mail - Use EPIPE if istream is too small
Commit: 25463ef4c130177c9c0c11e77270fc5561b12ba2
https://github.com/dovecot/core/commit/25463ef4c130177c9c0c11e77270fc5561b12ba2
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-12-23 (Fri, 23 Dec 2016)
Changed paths:
M src/lib-fs/istream-metawrap.c
Log Message:
-----------
lib-fs: istream-metawrap - set stream_errno=EPIPE on unexpected EOF
Commit: a4883ee9daf4e3a463faf43b304fd44b21aa73ee
https://github.com/dovecot/core/commit/a4883ee9daf4e3a463faf43b304fd44b21aa73ee
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-12-23 (Fri, 23 Dec 2016)
Changed paths:
M src/lib-mail/istream-qp-decoder.c
M src/lib-mail/test-istream-qp-decoder.c
Log Message:
-----------
lib-mail: istream-qp-decoder: set stream_errno=EPIPE on unexpected EOF
Commit: b7cabbb8fd1d662008faf20d2ec93e4be51f1e96
https://github.com/dovecot/core/commit/b7cabbb8fd1d662008faf20d2ec93e4be51f1e96
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-12-23 (Fri, 23 Dec 2016)
Changed paths:
M src/lib-compression/istream-bzlib.c
M src/lib-compression/istream-lz4.c
Log Message:
-----------
lib-compression: istream-{bzlib|lz4} - set stream_errno=EPIPE on unexpected EOF
Compare: https://github.com/dovecot/core/compare/1547bafeb113...b7cabbb8fd1d
More information about the dovecot-cvs
mailing list