[dovecot/core] 2739e5: lib-mail: istream-header-filter - Check errors rea...
GitHub
noreply at github.com
Tue May 3 17:00:13 UTC 2016
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: 2739e568eb2f33f6219d97261c94e67b68da2794
https://github.com/dovecot/core/commit/2739e568eb2f33f6219d97261c94e67b68da2794
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-05-03 (Tue, 03 May 2016)
Changed paths:
M src/lib-mail/istream-header-filter.c
Log Message:
-----------
lib-mail: istream-header-filter - Check errors reading header
This probably doesn't affect the results much, since the stream_errno is set
anyway. But it's better to abort early, just in case the broken state might
end up asserting later.
Commit: c8e34785671d3b13f4500144a2ec7af968ce3307
https://github.com/dovecot/core/commit/c8e34785671d3b13f4500144a2ec7af968ce3307
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-05-03 (Tue, 03 May 2016)
Changed paths:
M src/lib-mail/istream-header-filter.c
M src/lib-mail/test-istream-header-filter.c
Log Message:
-----------
lib-mail: istream-header-filter: Fixed stat() with HEADER_FILTER_END_BODY_WITH_LF
Commit: 10d2dbb8343d9f7a294519224e5e08e1c13e7453
https://github.com/dovecot/core/commit/10d2dbb8343d9f7a294519224e5e08e1c13e7453
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-05-03 (Tue, 03 May 2016)
Changed paths:
M src/lib-mail/istream-header-filter.c
M src/lib-mail/test-istream-header-filter.c
Log Message:
-----------
lib-mail: istream-header-filter HEADER_FILTER_ADD_MISSING_EOH fixes
When using HEADER_FILTER_CRLF_PRESERVE, add CR to the EOH if the previous
header line ended with CRLF.
When header ends to a header without newline, add two newlines so we can get
the actual EOH added.
Commit: 32e3da4a505b3b258d44abdf4366fbfc95680027
https://github.com/dovecot/core/commit/32e3da4a505b3b258d44abdf4366fbfc95680027
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-05-03 (Tue, 03 May 2016)
Changed paths:
M src/lib-mail/istream-header-filter.c
M src/lib-mail/test-istream-header-filter.c
Log Message:
-----------
lib-mail: istream-header-filter: Fixed stat() with HEADER_FILTER_HIDE_BODY
Commit: bf5682ed5399fce13b2053e20098e2de19751c59
https://github.com/dovecot/core/commit/bf5682ed5399fce13b2053e20098e2de19751c59
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-05-03 (Tue, 03 May 2016)
Changed paths:
M src/lib-mail/istream-header-filter.c
M src/lib-mail/test-istream-header-filter.c
Log Message:
-----------
lib-mail: istream-header-filter - fixed adding headers at eoh
Commit: 38a985c0634d03a5617cda7accf63753e6f2fce9
https://github.com/dovecot/core/commit/38a985c0634d03a5617cda7accf63753e6f2fce9
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-05-03 (Tue, 03 May 2016)
Changed paths:
M src/lib-storage/index/index-mail.c
Log Message:
-----------
lib-storage: Make it easier to debug mail's unclosed istream
Commit: ff17313eca2e395aa3127ebc01047386cd9cdd27
https://github.com/dovecot/core/commit/ff17313eca2e395aa3127ebc01047386cd9cdd27
Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
Date: 2016-05-03 (Tue, 03 May 2016)
Changed paths:
M src/imap/cmd-fetch.c
M src/lib-imap/imap-resp-code.h
Log Message:
-----------
lib-imap, imap: BINARY [UNKNOWNCTE] to [PARSE]
Commit: 26a6ff7f0e1e020212c68e97110b0a3a9d2af628
https://github.com/dovecot/core/commit/26a6ff7f0e1e020212c68e97110b0a3a9d2af628
Author: Baofeng Wang <baofeng.wang at dovecot.fi>
Date: 2016-05-03 (Tue, 03 May 2016)
Changed paths:
M src/config/old-set-parser.c
Log Message:
-----------
config: Remove old_namespace()
>From config/old-set-parser.c, and its caller. The namespace section
named "private", "shared" or "public" is obsolete accordingly.
Commit: 2d5d7890bd9b282eb1092fc788a2432a6c79a7ad
https://github.com/dovecot/core/commit/2d5d7890bd9b282eb1092fc788a2432a6c79a7ad
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-05-03 (Tue, 03 May 2016)
Changed paths:
M src/auth/mech-rpa.c
M src/auth/password-scheme-rpa.c
M src/lib-index/mail-transaction-log-file.c
M src/lib-mail/message-part-serialize.c
M src/lib-ntlm/ntlm-encrypt.c
M src/lib-ntlm/ntlm-message.c
M src/lib/str.c
Log Message:
-----------
global: Replace buffer_get_used_size(buf) with buf->used
Doesn't make any diffence to code generation, but it's somewhat simpler code.
It's also more consistent since most of the code nowadays uses the ->used.
Commit: b88c43d09a288e99d439c78de4cc613212ea924c
https://github.com/dovecot/core/commit/b88c43d09a288e99d439c78de4cc613212ea924c
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-05-03 (Tue, 03 May 2016)
Changed paths:
M src/lib-imap/imap-base-subject.c
M src/lib-index/mail-transaction-log-view.c
M src/lib-mail/istream-header-filter.c
M src/lib-mail/message-header-parser.c
M src/lib-storage/index/index-mail-headers.c
M src/lib-storage/mail-search.c
M src/lib/array.c
M src/lib/str.c
Log Message:
-----------
global: Avoid using buffer_get_data()
Especially buffer_get_data(buf, NULL) generates worse code than just
using buf->data directly.
Commit: 53e9cbd970106be179f7586151fa4e434f7084f1
https://github.com/dovecot/core/commit/53e9cbd970106be179f7586151fa4e434f7084f1
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-05-03 (Tue, 03 May 2016)
Changed paths:
M src/lib/str.c
M src/lib/str.h
Log Message:
-----------
lib: Make str_*() inline which are simple buffer_* wrappers.
Commit: 88bcf81213b292e58ddaa41643e4146299cc750f
https://github.com/dovecot/core/commit/88bcf81213b292e58ddaa41643e4146299cc750f
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-05-03 (Tue, 03 May 2016)
Changed paths:
M src/lib/str.c
Log Message:
-----------
lib: Optimize str_append_n()
Commit: 527c2b071dca35b91648344e867ab1af9c988281
https://github.com/dovecot/core/commit/527c2b071dca35b91648344e867ab1af9c988281
Author: Baofeng Wang <baofeng.wang at dovecot.fi>
Date: 2016-05-03 (Tue, 03 May 2016)
Changed paths:
M src/lib-storage/mail-user.c
M src/lib-storage/mail-user.h
Log Message:
-----------
lib-storage: add mail_user_plugin_getenv_bool
New API will check boolean-like env setting OR its exsitence.
Function returns FALSE when:
* Read out a null string,
"Or" * String starts with any letter in set {'N', 'n', 'F','f','0'}
To keep downward compatibility, For other cases including an empty
string, function returns TRUE.
Commit: 71748cca1bacd74451fd228db5536828bdfeb190
https://github.com/dovecot/core/commit/71748cca1bacd74451fd228db5536828bdfeb190
Author: Baofeng Wang <baofeng.wang at dovecot.fi>
Date: 2016-05-03 (Tue, 03 May 2016)
Changed paths:
M src/plugins/expire/expire-plugin.c
M src/plugins/fts/fts-storage.c
M src/plugins/lazy-expunge/lazy-expunge-plugin.c
M src/plugins/pop3-migration/pop3-migration-plugin.c
M src/plugins/stats/stats-plugin.c
Log Message:
-----------
global: Use mail_user_plugin_getenv_bool() wherever possible
New API is used to check boolean setting OR exsitence of an env variable.
Compare: https://github.com/dovecot/core/compare/eb8143d997a6...71748cca1bac
More information about the dovecot-cvs
mailing list