[dovecot/core | refs/heads/master-2.3] f53edc22: LAYOUT=index: Fix rebuilding mailbox list index on force-resync
noreply at dovecot.org
noreply at dovecot.org
Thu Feb 7 13:30:28 EET 2019
Branch: refs/heads/master-2.3
Home: https://github.com/dovecot/core
Commit: f53edc22ea0f02e29b44e4b21c0a98b8b3e65974
https://github.com/dovecot/core/commit/f53edc22ea0f02e29b44e4b21c0a98b8b3e65974
Author: Timo Sirainen <timo.sirainen at open-xchange.com>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-storage/list/mailbox-list-index.c
Log Message:
-----------
LAYOUT=index: Fix rebuilding mailbox list index on force-resync
The if-check was a bit confusing because have_backend==TRUE means that there
the mailbox list index is only an index, while have_backend==FALSE means
that the mailbox list index is the only source for the list of mailboxes
(= list index is the backend).
Commit: 647dfe014c831f835fb8c1e20422fe84e4bebc40
https://github.com/dovecot/core/commit/647dfe014c831f835fb8c1e20422fe84e4bebc40
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/plugins/push-notification/push-notification-driver-lua.c
Log Message:
-----------
push-notification-driver-lua: Request flags and keywords
Commit: a869cbebc1cfe8a8469ddfe9b0571809651c50ed
https://github.com/dovecot/core/commit/a869cbebc1cfe8a8469ddfe9b0571809651c50ed
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/plugins/push-notification/push-notification-driver-lua.c
Log Message:
-----------
push-notification-driver-lua: Fix comment typo
Commit: 16ec8eb61a26ec95f4604805f5f91ae0a450ac0c
https://github.com/dovecot/core/commit/16ec8eb61a26ec95f4604805f5f91ae0a450ac0c
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/plugins/push-notification/push-notification-driver-lua.c
Log Message:
-----------
push-notification-driver-lua: Add keywords and flags to MessageAppend event
Commit: 982c77d2d1fe4d255cd272aa864cd833cbf44d12
https://github.com/dovecot/core/commit/982c77d2d1fe4d255cd272aa864cd833cbf44d12
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/plugins/push-notification/push-notification-driver-lua.c
Log Message:
-----------
push-notification-driver-lua: Add keywords and flags to MessageNew event
Commit: e0236ca0f248d5ba58f780f31990dc9f2b65410c
https://github.com/dovecot/core/commit/e0236ca0f248d5ba58f780f31990dc9f2b65410c
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/plugins/push-notification/push-notification-driver-lua.c
Log Message:
-----------
push-notification-driver-lua: Rename keywords_set and keywors_clear to keywords
This is more concince since these are the keywords being operated on.
Commit: 7e839e0039a65c34fe8651aae9a72bc239ef7086
https://github.com/dovecot/core/commit/7e839e0039a65c34fe8651aae9a72bc239ef7086
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/plugins/push-notification/push-notification-driver-lua.c
Log Message:
-----------
push-notification-driver-lua: Push keywords in helper function
Commit: 142e3e5cca5a627c32b556583283e598e439d3c8
https://github.com/dovecot/core/commit/142e3e5cca5a627c32b556583283e598e439d3c8
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/plugins/push-notification/push-notification-driver-lua.c
Log Message:
-----------
push-notification-driver-lua: Push mail flags as array of flags
Commit: 5695b91a16329269546a0e62a277bc5e32b3967e
https://github.com/dovecot/core/commit/5695b91a16329269546a0e62a277bc5e32b3967e
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/plugins/push-notification/push-notification-event-messageappend.c
M src/plugins/push-notification/push-notification-event-messageappend.h
Log Message:
-----------
push-notification: Add flags and keywords to MessageAppend event
Commit: 13ef953f48eb7b99b0647ea6fc648c1ce2703e9f
https://github.com/dovecot/core/commit/13ef953f48eb7b99b0647ea6fc648c1ce2703e9f
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/plugins/push-notification/push-notification-event-message-common.h
M src/plugins/push-notification/push-notification-event-messagenew.c
M src/plugins/push-notification/push-notification-event-messagenew.h
Log Message:
-----------
push-notification: Add flags and keywords to MessageNew event
Commit: c3e95b3e96e680d07ad982aae5f50c54b176ed0d
https://github.com/dovecot/core/commit/c3e95b3e96e680d07ad982aae5f50c54b176ed0d
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M m4/want_lz4.m4
Log Message:
-----------
m4: Remove unneeded else case from want_lz4
This causes extraneous code in configure causing it to fail
Commit: aed205056a802d234cb0e5d0df2508f7aee790f5
https://github.com/dovecot/core/commit/aed205056a802d234cb0e5d0df2508f7aee790f5
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M m4/want_bzlib.m4
M m4/want_lz4.m4
M m4/want_lzma.m4
Log Message:
-----------
m4: Replace some if tests with AS_IF
Fixes configure on older systems
Commit: 81541bd24122e812dd509e631b46c7e76cce2731
https://github.com/dovecot/core/commit/81541bd24122e812dd509e631b46c7e76cce2731
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M m4/want_lua.m4
Log Message:
-----------
m4: Remove stray comma from want_lua.m4
Commit: 8ba7c1a3d318ba655eec436a22713a941439a520
https://github.com/dovecot/core/commit/8ba7c1a3d318ba655eec436a22713a941439a520
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M m4/arc4random.m4
Log Message:
-----------
m4: Remove stray AC_ARG_WITH from arc4random.m4
Commit: 17b2694839279a0f090f7502aed6f3827a007855
https://github.com/dovecot/core/commit/17b2694839279a0f090f7502aed6f3827a007855
Author: Sergey Kitov <sergey.kitov at open-xchange.com>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/log/log-connection.c
Log Message:
-----------
log: Use failure context log_prefix when available as prefix for error.
Current behaviour hides log prefix when seeing errors via doveadm log
errors, this commit will fix it.
Commit: c42b1d687102d9f4227e627c5a998fc752c71878
https://github.com/dovecot/core/commit/c42b1d687102d9f4227e627c5a998fc752c71878
Author: Martti Rannanjärvi <martti.rannanjarvi at open-xchange.com>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/auth/auth-policy.c
Log Message:
-----------
auth: Fix auth-policy log-only warning whitespace
Commit: 8157ce4fac42aeccd08eeb2e6dc9373b07cfac20
https://github.com/dovecot/core/commit/8157ce4fac42aeccd08eeb2e6dc9373b07cfac20
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/auth/auth-policy.c
M src/auth/auth-request.c
M src/auth/auth-settings.c
M src/auth/auth-settings.h
Log Message:
-----------
auth: Add auth_policy_log_only setting
When auth_policy_log_only=yes, only log what would have been done.
Commit: 825c47c1eab16d172dd2beff1b9c1f410cb8dafd
https://github.com/dovecot/core/commit/825c47c1eab16d172dd2beff1b9c1f410cb8dafd
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/auth/auth-request.c
Log Message:
-----------
auth: Treat all negative responses from policy servers as drops
Otherwise negative responses that are not -1 are considered
as success, which is wrong.
Commit: 54105bdf63e5a3f56d8707fa30407f2cb6218440
https://github.com/dovecot/core/commit/54105bdf63e5a3f56d8707fa30407f2cb6218440
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/auth/auth-request.c
Log Message:
-----------
auth: Log policy decisions clearly
Commit: 1eeb837f53d3d7320121adf7104968d2fc035aa4
https://github.com/dovecot/core/commit/1eeb837f53d3d7320121adf7104968d2fc035aa4
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-storage/mail-storage.h
Log Message:
-----------
lib-storage: Fix mail_get_headers() API comment
Commit: b96cc99283037c817fe112a6f3c81abe8bf5a971
https://github.com/dovecot/core/commit/b96cc99283037c817fe112a6f3c81abe8bf5a971
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-storage/list/mailbox-list-index-status.c
Log Message:
-----------
lib-storage: Fix error handling if mailbox list index refresh fails
The caller expects the error to be in mail_storage, not mailbox_list.
Commit: 1f9bb887812cde28fb91025d9b7c7c7ca46b4f7f
https://github.com/dovecot/core/commit/1f9bb887812cde28fb91025d9b7c7c7ca46b4f7f
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-storage/index/maildir/maildir-save.c
Log Message:
-----------
maildir: Don't crash with zlib plugin when saving is aborted
The ostream can be finished even if the saving had already failed. It gets
deleted anyway.
Fixes:
Panic: file ostream-zlib.c: line 37 (o_stream_zlib_close): assertion failed: (zstream->ostream.finished || zstream->ostream.ostream.stream_errno != 0 || zstream->ostream.error_handling_disabled)
Commit: d83ff884d0c35724b5c3df10a5fd62030a36a66f
https://github.com/dovecot/core/commit/d83ff884d0c35724b5c3df10a5fd62030a36a66f
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/login-common/login-proxy.c
Log Message:
-----------
login-proxy: Fix potential crash for delayed disconnects
This happens only with login_proxy_max_disconnect_delay.
Fixes:
Panic: file ioloop.c: line 86 (io_add): assertion failed: (fd >= 0)
Commit: 5494f652d571c7eeb2a350cd8391121c7dcf5578
https://github.com/dovecot/core/commit/5494f652d571c7eeb2a350cd8391121c7dcf5578
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/smtp-client-connection.c
Log Message:
-----------
lib-smtp: client: Prevent sending an empty XCLIENT command when the first parameter is long.
Commit: facfea299c42ceb6edb473650a552b264f5b55db
https://github.com/dovecot/core/commit/facfea299c42ceb6edb473650a552b264f5b55db
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/event-log.c
M src/lib/lib-event-private.h
M src/lib/lib-event.c
M src/lib/lib-event.h
M src/lib/test-event-log.c
Log Message:
-----------
lib: event - Add event_set_log_prefix_callback
Fetch prefix using a callback.
Commit: ecfce734ff29dd6931fc666027555ebb0f7a6d7c
https://github.com/dovecot/core/commit/ecfce734ff29dd6931fc666027555ebb0f7a6d7c
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/failures.c
Log Message:
-----------
lib: Fix failure_context.log_prefix_type_pos handling
The log type string was inserted into wrong location if there were multiple
log prefixes.
Commit: 2afabefe00600cc1c57e6ab8f488889af1dbf531
https://github.com/dovecot/core/commit/2afabefe00600cc1c57e6ab8f488889af1dbf531
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/imap/imap-client.c
M src/lib-storage/mail-storage.h
Log Message:
-----------
lib-storage: Remove MAILBOX_FEATURE_QRESYNC
This is an imap-specific feature, which doesn't need to be visible in
the lib-storage layer.
Commit: a4cee4ff2bea2058edf0340d133eb0dca5881947
https://github.com/dovecot/core/commit/a4cee4ff2bea2058edf0340d133eb0dca5881947
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/imap/imap-client.c
M src/imap/imap-client.h
M src/imap/imap-feature.c
M src/imap/imap-feature.h
M src/imap/main.c
Log Message:
-----------
imap: Add support for ENABLE extensions
Based on patch by Aki Tuomi
Commit: c20a65bf3901ac4faf5a3539bd11b10ba9713c89
https://github.com/dovecot/core/commit/c20a65bf3901ac4faf5a3539bd11b10ba9713c89
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/imap/imap-state.c
Log Message:
-----------
imap: Change state import/export to use full feature string names
Single letter IDs wouldn't allow extensions.
Commit: 1631bb342ac81f250f647360c1eeac447695ed43
https://github.com/dovecot/core/commit/1631bb342ac81f250f647360c1eeac447695ed43
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/imap/imap-client.c
M src/imap/imap-client.h
Log Message:
-----------
imap: Add client_enabled_features()
This simplifies the following commits.
Commit: c3538af440f89c552ca76fbb2ce05dc4be4f3fab
https://github.com/dovecot/core/commit/c3538af440f89c552ca76fbb2ce05dc4be4f3fab
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/imap/cmd-enable.c
M src/imap/cmd-select.c
M src/imap/cmd-store.c
M src/imap/imap-client.c
M src/imap/imap-client.h
M src/imap/imap-fetch.c
M src/imap/imap-search.c
M src/imap/imap-status.c
Log Message:
-----------
imap: Cleanup - Change client_enable() to return void
Nothing cares about its return value. With the current features it's
not even possible to fail. Possibly mailbox_enable() should be also
changed to return void in the future.
Commit: b64faf8ac32928f8e920452de51ce13849cda41d
https://github.com/dovecot/core/commit/b64faf8ac32928f8e920452de51ce13849cda41d
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/imap/Makefile.am
M src/imap/cmd-enable.c
A src/imap/imap-feature.c
A src/imap/imap-feature.h
Log Message:
-----------
imap: Add and use imap_feature_lookup()
This simplifies the following commits.
Commit: bdd22275b28bf18edf0a3c975be5211be17be144
https://github.com/dovecot/core/commit/bdd22275b28bf18edf0a3c975be5211be17be144
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/imap/cmd-notify.c
M src/imap/cmd-select.c
M src/imap/imap-client.c
M src/imap/imap-client.h
M src/imap/imap-commands-util.c
M src/imap/imap-state.c
M src/imap/imap-status.c
Log Message:
-----------
imap: Add and use client_enabled_mailbox_features()
This simplifies the following commits.
Commit: 24dfb1808c06d7f10e1c03eee7d536e0bad42d30
https://github.com/dovecot/core/commit/24dfb1808c06d7f10e1c03eee7d536e0bad42d30
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/imap/cmd-notify.c
M src/imap/cmd-select.c
M src/imap/imap-commands-util.c
M src/imap/imap-state.c
M src/imap/imap-status.c
Log Message:
-----------
imap: Cleanup - don't avoid calling mailbox_enable(box, 0)
This simplifies the following changes. mailbox_enable() is an efficient
function and it doesn't mind being called with features=0 parameter.
Commit: b4f8a6c2c35d747a822148e553eed605affa4290
https://github.com/dovecot/core/commit/b4f8a6c2c35d747a822148e553eed605affa4290
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/imap/cmd-fetch.c
M src/imap/cmd-select.c
M src/imap/cmd-store.c
M src/imap/imap-client.c
M src/imap/imap-client.h
M src/imap/imap-notify.c
M src/imap/imap-state.c
M src/imap/imap-sync.c
Log Message:
-----------
imap: Add and use client_has_enabled() wrapper
This simplifies the following commits.
Commit: e40ceb2d4ce59714af69fda5e144a17be5b2af2d
https://github.com/dovecot/core/commit/e40ceb2d4ce59714af69fda5e144a17be5b2af2d
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/imap/cmd-enable.c
M src/imap/imap-client.c
M src/imap/imap-client.h
Log Message:
-----------
imap: client_enable() API change - enable features one at a time
This simplifies the following commits.
Commit: bbae1b376a0cec4da618c7d405eda6a38ffcfcda
https://github.com/dovecot/core/commit/bbae1b376a0cec4da618c7d405eda6a38ffcfcda
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/imap/cmd-enable.c
M src/imap/cmd-fetch.c
M src/imap/cmd-select.c
M src/imap/cmd-store.c
M src/imap/imap-client.c
M src/imap/imap-client.h
M src/imap/imap-fetch.c
M src/imap/imap-notify.c
M src/imap/imap-search.c
M src/imap/imap-state.c
M src/imap/imap-status.c
M src/imap/imap-sync.c
Log Message:
-----------
imap: Access enabled features via new imap_client_feature_* variables
This simplifies the following commits.
Commit: 184165f59d0038b43f1b35c4bbf86c93b5131541
https://github.com/dovecot/core/commit/184165f59d0038b43f1b35c4bbf86c93b5131541
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M m4/dovecot.m4
Log Message:
-----------
m4: dovecot.m4 - Bump serial
Commit: 3ecf90cb8291380d7d7d78c21a4ed093ecc2c881
https://github.com/dovecot/core/commit/3ecf90cb8291380d7d7d78c21a4ed093ecc2c881
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M m4/dovecot.m4
Log Message:
-----------
m4: dovecot.m4 - Improve CC_CLANG
Commit: f72561fcd67087cbb84b2ec2fb8b7b5fef067502
https://github.com/dovecot/core/commit/f72561fcd67087cbb84b2ec2fb8b7b5fef067502
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M m4/dovecot.m4
Log Message:
-----------
m4: dovecot.m4 - Call CC_CLANG before DC_DOVECOT_CFLAGS
So we know if we are using clang compiler
Commit: 2d2c5be30e991f14a3150361d0cdad8f087926a2
https://github.com/dovecot/core/commit/2d2c5be30e991f14a3150361d0cdad8f087926a2
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M m4/dovecot.m4
Log Message:
-----------
dovecot.m4: Preserve original CFLAGS/LDFLAGS
Correct flags are detected during configure, so avoid
overwriting them here by accident.
Commit: 069c86d9ac6fb8d1f80196878a67afcb0ba6ec47
https://github.com/dovecot/core/commit/069c86d9ac6fb8d1f80196878a67afcb0ba6ec47
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M m4/dovecot.m4
Log Message:
-----------
dovecot.m4: Use _DC_EOF instead of EOF
Avoids messing with other scripts
Commit: d87ed6e351db5bb74b174a15c97635eeca115624
https://github.com/dovecot/core/commit/d87ed6e351db5bb74b174a15c97635eeca115624
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M m4/dovecot.m4
Log Message:
-----------
dovecot.m4: Use AS_IF macro instead of if
It's safer with m4
Commit: 57d05a297df5ed0778a06406b09837f84406a098
https://github.com/dovecot/core/commit/57d05a297df5ed0778a06406b09837f84406a098
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M m4/dovecot.m4
Log Message:
-----------
dovecot.m4: Call DC_DOVECOT_CFLAGS and HARDENING earlier
Before SUBST
Commit: 83bd255b00263ce803710d8d859c9058ed916755
https://github.com/dovecot/core/commit/83bd255b00263ce803710d8d859c9058ed916755
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M configure.ac
M m4/dovecot.m4
Log Message:
-----------
dovecot.m4: Rename DOVECOT_CFLAGS function to DC_DOVECOT_CFLAGS
Avoid conflict with variable of same name
Commit: 128c67aeb57c3f5df399aec9d13b3654f7c60eec
https://github.com/dovecot/core/commit/128c67aeb57c3f5df399aec9d13b3654f7c60eec
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M m4/dovecot.m4
Log Message:
-----------
dovecot.m4: Use dnl instead of hash for comments
Commit: 8ec36ce9ef171714be0f3f663ee35290a406b646
https://github.com/dovecot/core/commit/8ec36ce9ef171714be0f3f663ee35290a406b646
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M configure.ac
Log Message:
-----------
configure: Use DC_DOVECOT_HARDENING
Commit: 4695c87f75be87f2172a7b58fb5cac37855a5949
https://github.com/dovecot/core/commit/4695c87f75be87f2172a7b58fb5cac37855a5949
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M m4/dovecot.m4
Log Message:
-----------
dovecot.m4: Add DC_DOVECOT_HARDENING to check hardening options
Commit: 6cd4e6bb15a1149691a99c6566037fbcb8ad62b3
https://github.com/dovecot/core/commit/6cd4e6bb15a1149691a99c6566037fbcb8ad62b3
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
D m4/cc_clang.m4
D m4/cc_fortify.m4
D m4/cc_pie.m4
D m4/cc_retpoline.m4
D m4/cc_stack_protector.m4
D m4/cflags.m4
M m4/dovecot.m4
D m4/ld_relro.m4
D m4/ld_whole_archive.m4
D m4/warnings.m4
Log Message:
-----------
m4: Move various compiler and linker checks to dovecot.m4
We don't want to distribute CFLAGS or LDFLAGS that break
compiler, due to lack of support.
Commit: 322022a7675341372bb0935a507ca2224b83da20
https://github.com/dovecot/core/commit/322022a7675341372bb0935a507ca2224b83da20
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-master/test-event-stats.c
Log Message:
-----------
lib-master: test-event-stats - Use PRIu64 format
Forgotten in e16ba6f
Commit: 81f60ae2ffef5a387f15806d965c48b1ad4e66ee
https://github.com/dovecot/core/commit/81f60ae2ffef5a387f15806d965c48b1ad4e66ee
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-master/test-event-stats.c
Log Message:
-----------
lib-master: test-event-stats - Include signal.h
Forgotten in e16ba6f
Commit: 6afb6ee666202e6745dcb666f2cb9a2ba1a222c7
https://github.com/dovecot/core/commit/6afb6ee666202e6745dcb666f2cb9a2ba1a222c7
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-master/test-event-stats.c
Log Message:
-----------
lib-master: test-event-stats: Properly ensure cleanup of all files generated by tests.
Commit: 248cb8b90350d3585acfbbedf96d98d4e3ad2e2c
https://github.com/dovecot/core/commit/248cb8b90350d3585acfbbedf96d98d4e3ad2e2c
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-master/test-event-stats.c
Log Message:
-----------
lib-master: test-event-stats: Move launch_test_stats() to a more logical place.
Commit: b7aebfc8e0e9cf844186864422f4fe170c518bbe
https://github.com/dovecot/core/commit/b7aebfc8e0e9cf844186864422f4fe170c518bbe
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
A src/lib-master/.gitignore
Log Message:
-----------
lib-master: Create local .gitignore file for potential test output junk.
Commit: 38e9eb09a25d22bd3b51b106b56f2db7fec98e8b
https://github.com/dovecot/core/commit/38e9eb09a25d22bd3b51b106b56f2db7fec98e8b
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/plugins/fts/fts-search-args.c
Log Message:
-----------
fts: Fix search query generation when one language ignores a token
The search query was changed to "NOT ALL", even though other languages
used the token.
Commit: cf82a5d288f1882c7292990a964002fbcda697bf
https://github.com/dovecot/core/commit/cf82a5d288f1882c7292990a964002fbcda697bf
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/smtp-client-transaction.c
Log Message:
-----------
lib-smtp: client: Fix potential segfault occurring after receiving RCPT reply.
Could occur when RCPT reply is received befor DATA command is sent in LMTP session.
Problem found by Coverity.
Commit: baa5f18fe0261f65d3de7fcfcf8a393955a2305c
https://github.com/dovecot/core/commit/baa5f18fe0261f65d3de7fcfcf8a393955a2305c
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/test-smtp-client-errors.c
Log Message:
-----------
lib-smtp: test-smtp-client-errors: Add tests for transaction timeouts.
Commit: 9bdd12659dffc6f8c1c07c4a09de6cf4706ae98b
https://github.com/dovecot/core/commit/9bdd12659dffc6f8c1c07c4a09de6cf4706ae98b
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/smtp-client-transaction.c
Log Message:
-----------
lib-smtp: client: Add debug message for the moment when all RCPT replies are received.
This helps in debugging transaction state transition problems.
Commit: e3abd5319b33bec1a4574ca42a16f31d64c58488
https://github.com/dovecot/core/commit/e3abd5319b33bec1a4574ca42a16f31d64c58488
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/smtp-client-transaction.c
Log Message:
-----------
lib-smtp: client: Fix transaction state transition for the DATA command.
It progressed to the DATA state too early. By the looks of things, this only
affected the correctness of error and debug messages. It does not affect the
transaction itself.
Commit: 3d932fea914642df544abcd8ace0b64a08cf2219
https://github.com/dovecot/core/commit/3d932fea914642df544abcd8ace0b64a08cf2219
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/smtp-client-transaction.c
Log Message:
-----------
lib-smtp: client: Fix segmentation fault occurring at transaction timeout.
In the DATA command callback trans->cmd_data can be NULL when the command is
aborted from smtp_client_transaction_fail_reply().
Commit: 4df412f8ab2604b3e987ab63e3398f7c776da9ff
https://github.com/dovecot/core/commit/4df412f8ab2604b3e987ab63e3398f7c776da9ff
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/smtp-client-private.h
M src/lib-smtp/smtp-client-transaction.c
Log Message:
-----------
lib-smtp: client: transaction: Prevent early transaction abort in smtp_client_transaction_fail_reply().
Can happen in one of the command callbacks of aborted commands.
Commit: 20345147c944612a9a36590394a67809f4bcc222
https://github.com/dovecot/core/commit/20345147c944612a9a36590394a67809f4bcc222
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/smtp-client-transaction.c
Log Message:
-----------
lib-smtp: Remove trailing whitespace in smtp-cient-transaction.c.
Commit: 2a0c1c6f5d402fdcd7be7f643d9c58f738c840ae
https://github.com/dovecot/core/commit/2a0c1c6f5d402fdcd7be7f643d9c58f738c840ae
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/test-smtp-client-errors.c
Log Message:
-----------
lib-smtp: Remove trailing whitespace in test-smtp-client-errors.c.
Commit: 3d1ed9b9f7bb467960ac5283cc133e13f6c5eefb
https://github.com/dovecot/core/commit/3d1ed9b9f7bb467960ac5283cc133e13f6c5eefb
Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/test-bin/sendmail-exit-1.sh
Log Message:
-----------
lib-smtp: Read input before exiting in sendmail-exit-1.sh
This avoids a Broken pipe error that fails the unit test this script
belongs to.
Commit: 51e14c73ad5a7ad26f4e9a740c7df5ae4605e3d4
https://github.com/dovecot/core/commit/51e14c73ad5a7ad26f4e9a740c7df5ae4605e3d4
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/Makefile.am
Log Message:
-----------
lib-smtp: Include test-bin in dist
Commit: 00d0052723cd3370cae7b914ac44d5a31e250039
https://github.com/dovecot/core/commit/00d0052723cd3370cae7b914ac44d5a31e250039
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-test/test-common.h
Log Message:
-----------
lib-test: Warn if test_run or test_run_named result is not used
Ensures hopefully that unit tests do not succeed when they fail
due to wrong exit code.
Commit: 314aba4a1c3fc991f9f1d02b44accafc925db49b
https://github.com/dovecot/core/commit/314aba4a1c3fc991f9f1d02b44accafc925db49b
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-http/test-http-client-errors.c
M src/lib-http/test-http-payload.c
M src/lib-http/test-http-server-errors.c
M src/lib-smtp/test-smtp-client-errors.c
M src/lib-smtp/test-smtp-payload.c
M src/lib-smtp/test-smtp-server-errors.c
M src/lib-smtp/test-smtp-submit.c
Log Message:
-----------
global: Ensure unit tests return value
Commit: b06b56413672e9e7a5a067ecd227f58990517e7b
https://github.com/dovecot/core/commit/b06b56413672e9e7a5a067ecd227f58990517e7b
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-auth/auth-server-connection.c
Log Message:
-----------
lib-auth: Fix reconnect timeout leak at deinit
Commit: 6465c3d90ffdbd66f5eef0964dac77073585c561
https://github.com/dovecot/core/commit/6465c3d90ffdbd66f5eef0964dac77073585c561
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-http/http-client-host.c
Log Message:
-----------
lib-http: client: Notify host object about submission of request before submitting the request to the queue.
This makes sure the host idle timeout is stopped before the request is submitted
and the host object's refresh function is called. If the idle timeout is still
running at that point, the refresh function will return success without
performing a lookup, which can lead to a panic.
Panic was:
Panic: file ./http-client-private.h: line 672 (http_client_host_get_ip): assertion failed: (idx < host->shared->ips_count)
Commit: e5f9dfa3189faa2a131f6a9f425e5c096f7252db
https://github.com/dovecot/core/commit/e5f9dfa3189faa2a131f6a9f425e5c096f7252db
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-http/http-client-host.c
Log Message:
-----------
lib-http: client: Reset ips count to zero before DNS lookup.
Commit: 236216158eaf71ac26759713b1469a360b2c2a7f
https://github.com/dovecot/core/commit/236216158eaf71ac26759713b1469a360b2c2a7f
Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/test-mempool.c
Log Message:
-----------
lib: mempool - Remove unnecessary check
The previous commit guarantees that we always have one of _ILP32 and _LP64
defined so we don't have to check ourselves.
Commit: 6338778f726743a618bc48b15f9502d6d8cd9900
https://github.com/dovecot/core/commit/6338778f726743a618bc48b15f9502d6d8cd9900
Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/compat.h
Log Message:
-----------
lib: Make sure exactly one of _ILP32 and _LP64 is defined at all times
These defines are very common, but not universal. For example, clang on
illumos and FreeBSD always defines one of them, while 32-bit Ubuntu 16.04
doesn't define either.
Commit: f1a2d99c0ebf8d812d1cf50b1e4f5860c520687a
https://github.com/dovecot/core/commit/f1a2d99c0ebf8d812d1cf50b1e4f5860c520687a
Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/mempool.h
M src/lib/test-mempool.c
Log Message:
-----------
lib: mempool - Improve p_realloc() panic message
Most importantly, this differentiates it from the panic message that
p_malloc() prints.
Commit: 52954b8a236795685f8ce24536cbf633618ec11e
https://github.com/dovecot/core/commit/52954b8a236795685f8ce24536cbf633618ec11e
Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/mempool-allocfree.c
M src/lib/mempool.h
Log Message:
-----------
lib: mempool - Centralize p_free() NULL pointer check
This changes the behavior of p_free(pool, some_null_pointer) slightly.
datastack mempools:
Previously, the datastack frame id was checked regardless of whether or
not the pointer was NULL. Now, only non-NULL pointers perform this
check.
system mempools:
Previously, the process would SIGSEGV if a NULL pointer was freed in a
debug binary on a system with malloc_usable_size(). Now, no SIGSEGV
occurs.
allocfree, alloconly, and unsafe datastack:
No change in behavior.
Commit: b8fd8bf766360937e5f3c89046063cb52729d233
https://github.com/dovecot/core/commit/b8fd8bf766360937e5f3c89046063cb52729d233
Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/mempool-allocfree.c
M src/lib/mempool-alloconly.c
M src/lib/mempool-datastack.c
M src/lib/mempool-system.c
M src/lib/mempool-unsafe-datastack.c
M src/lib/mempool.h
Log Message:
-----------
lib: mempool - Centralize p_realloc() NULL pointer check
Instead of each mempool implementation having to check the pointer passed in
for being NULL, we can check that the sizes are within the required bounds
in p_realloc().
Commit: 3611195897d8f5f1f90c05862886f43e78ece782
https://github.com/dovecot/core/commit/3611195897d8f5f1f90c05862886f43e78ece782
Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/mempool-allocfree.c
M src/lib/mempool-alloconly.c
M src/lib/mempool-datastack.c
M src/lib/mempool-system.c
M src/lib/mempool-unsafe-datastack.c
M src/lib/mempool.h
Log Message:
-----------
lib: mempool - Centralize p_{m,re}alloc() size checks
Instead of each mempool implementation having to check the allocation sizes
for sanity, we can check that the sizes are within the required bounds in
p_malloc() and p_realloc().
Since p_malloc() and p_realloc() are static inlines, some consumers will see
a little bit of growth in binary size, but others will be able to optimize
the check away at compile time.
Commit: f4cac7d8ecb23be074627ded982398138dff58b4
https://github.com/dovecot/core/commit/f4cac7d8ecb23be074627ded982398138dff58b4
Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/mempool-allocfree.c
M src/lib/mempool-alloconly.c
M src/lib/mempool-datastack.c
M src/lib/mempool-system.c
M src/lib/mempool-unsafe-datastack.c
M src/lib/mempool.c
M src/lib/mempool.h
M src/lib/test-mempool-allocfree.c
M src/lib/test-mempool-alloconly.c
M src/lib/test-mempool.c
Log Message:
-----------
lib: mempool - Define a global max allocation size supported by all pools
Instead of relying on each mempool implementation to define its own limits
and checks, this commit defines a generic one that's sufficient to make any
mempool present or future happy.
Commit: 0a3e10c6f59320cd7826955c08aa907c47a4980b
https://github.com/dovecot/core/commit/0a3e10c6f59320cd7826955c08aa907c47a4980b
Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/mempool-allocfree.c
Log Message:
-----------
lib: mempool-allocfree: Remove unused #define
This define was never actually used.
Commit: b7e85ed187904c991e40bc1d8848c17ac33e2fbd
https://github.com/dovecot/core/commit/b7e85ed187904c991e40bc1d8848c17ac33e2fbd
Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/mempool-datastack.c
Log Message:
-----------
lib: mempool-datastack - Use container_of instead of casts
Commit: a47129e81a6d08b62b0edfc5deb8f34f95f43a98
https://github.com/dovecot/core/commit/a47129e81a6d08b62b0edfc5deb8f34f95f43a98
Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/mempool-alloconly.c
Log Message:
-----------
lib: mempool-alloconly - Use container_of instead of casts
Commit: b6864a359d739a3b236cb496b06fbe66a0036aab
https://github.com/dovecot/core/commit/b6864a359d739a3b236cb496b06fbe66a0036aab
Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/mempool-alloconly.c
Log Message:
-----------
lib: Rename a alloconly mempool helper function to make its scope obvious
pool_try_grow() makes it look like it is part of the mempool API, even
though it is an internal helper specific to the alloconly pool.
Commit: 19d270a92e7f3315d6b93db2aaf76f17b1ea12ed
https://github.com/dovecot/core/commit/19d270a92e7f3315d6b93db2aaf76f17b1ea12ed
Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/mempool-unsafe-datastack.c
Log Message:
-----------
lib: Document the unsafe datastack mempool
Commit: 592652d87d0130d5da2f49547dc0da49b06d8752
https://github.com/dovecot/core/commit/592652d87d0130d5da2f49547dc0da49b06d8752
Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/mempool-system.c
Log Message:
-----------
lib: Document the system mempool
Commit: d82132c3a7e05af8f4b5d75c65ffbc4de6da3b03
https://github.com/dovecot/core/commit/d82132c3a7e05af8f4b5d75c65ffbc4de6da3b03
Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/mempool-datastack.c
Log Message:
-----------
lib: Document datastack mempools
Commit: 1c8eec9738d6f8fec7e26d8b196088dae44a308c
https://github.com/dovecot/core/commit/1c8eec9738d6f8fec7e26d8b196088dae44a308c
Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/mempool-allocfree.c
Log Message:
-----------
lib: Document allocfree mempools
Commit: d463e8b4de0fd403349fb35d329ed4fe6d4476e9
https://github.com/dovecot/core/commit/d463e8b4de0fd403349fb35d329ed4fe6d4476e9
Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/mempool-alloconly.c
Log Message:
-----------
lib: Document alloconly mempools
Commit: 49ed566ed249bce5bdcf223b175c1b1a1745c58a
https://github.com/dovecot/core/commit/49ed566ed249bce5bdcf223b175c1b1a1745c58a
Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/test-mempool.c
Log Message:
-----------
lib: mempool - Further reduce test code duplication
We have to use a macro because we need to pass a type as an argument.
Commit: 4d0b93d5edcadfa3ad68ef83985a06a21f7e394a
https://github.com/dovecot/core/commit/4d0b93d5edcadfa3ad68ef83985a06a21f7e394a
Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/test-mempool.c
Log Message:
-----------
lib: mempool - Reduce test code duplication
The 32 and 64 bit versions of the tests were identical.
Commit: 4f92bf25c98050db2944c7f53727f50f30f67a48
https://github.com/dovecot/core/commit/4f92bf25c98050db2944c7f53727f50f30f67a48
Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/test-mempool.c
Log Message:
-----------
lib: mempool - Generalize the test
Instead of hardcoding what appear to be arbitrary constants, use expressions
based on UINT{16,32,64}_MAX.
Commit: 409c2870ab883918018822e8bfdbb597890c1809
https://github.com/dovecot/core/commit/409c2870ab883918018822e8bfdbb597890c1809
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/str-sanitize.c
Log Message:
-----------
lib: str-sanitize: Use uni_utf8_data_truncate().
Commit: f9b58a2eecff140d094a142893739219cc5cde27
https://github.com/dovecot/core/commit/f9b58a2eecff140d094a142893739219cc5cde27
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/str.c
M src/lib/str.h
M src/lib/test-str.c
Log Message:
-----------
lib: Add str_truncate_utf8().
It works similar to str_truncate(), but it makes sure the truncated string
remains valid UTF-8.
Commit: 46e2d311c83710264b85ec99d6b0532cf77cdaa4
https://github.com/dovecot/core/commit/46e2d311c83710264b85ec99d6b0532cf77cdaa4
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/unichar.c
M src/lib/unichar.h
Log Message:
-----------
lib: unichar: Add uni_utf8_data_truncate().
Returns the size of the data when truncated to be less than or equal to
a specified size, making sure UTF-8 character boundaries are respected.
Commit: 38efac5f2f0bfb9eeb7b82800e825ba6f760d720
https://github.com/dovecot/core/commit/38efac5f2f0bfb9eeb7b82800e825ba6f760d720
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/smtp-server-cmd-data.c
M src/lib-smtp/smtp-server-private.h
Log Message:
-----------
lib-smtp: server: Make sure conn->state.data_failed is only set when no previous BDAT/BURL is pending.
Otherwise, the server would sometimes send 503 error for the first BDAT/BURL
command, while a subsequent command was actually failing earlier than the
initial one completed. Additionally, this caused a panic crash.
Panic was:
submission(stephan)<8353><C+7QBfysKluhIAAAmoV78g>: Panic: Input stream /home/stephan/Maildir/cur/1517515808.M176007P2993.johanna,S=1903,W=1956:2,DFS unexpectedly has references
Commit: 46df948dffade371c521ae77d3ca072e4eae7e12
https://github.com/dovecot/core/commit/46df948dffade371c521ae77d3ca072e4eae7e12
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/smtp-params.c
Log Message:
-----------
lib-smtp: Allocate ORCPT addr_type from given memory pool, not data stack
This could have caused crashes when parsing ORCPT.
Commit: 5b7f38df2dbf91fb59b1df22f369c371ff824fc4
https://github.com/dovecot/core/commit/5b7f38df2dbf91fb59b1df22f369c371ff824fc4
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/smtp-client-connection.c
M src/lib-smtp/smtp-client-private.h
Log Message:
-----------
lib-smtp: client: Avoid sending an XCLIENT command longer than 512 bytes.
Send several separate XCLIENT commands instead. This way, it complies with the
base SMTP line length limit and with Postfix' original specification for the
XCLIENT command.
With the XCLIENT fields that Dovecot currently uses, this is very unlikely to
happen. Still, this needs to be fixed to make things reliable.
Commit: a51ee7b987b90b316e75326edb2d4485120ffbf6
https://github.com/dovecot/core/commit/a51ee7b987b90b316e75326edb2d4485120ffbf6
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/smtp-client-connection.c
M src/lib-smtp/smtp-client-connection.h
Log Message:
-----------
lib-smtp: client: Do not start authentication before initial XCLIENT gets reply.
Commit: 0860c893dfe7e4f0401bf1f188f1d8a7394f7b4d
https://github.com/dovecot/core/commit/0860c893dfe7e4f0401bf1f188f1d8a7394f7b4d
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/smtp-server-connection.c
Log Message:
-----------
lib-smtp: server: Provide full proxy data to the conn_proxy_data_updated() callback.
Before, it would only provide the fields that were updated, meaning that some
fields would remain unset, which caused problems for LMTP when more than one
XCLIENT command was sent or the ADDR field was not specified.
Commit: d219bf98b1d199fe79b2c7505f35a6d5a65eda24
https://github.com/dovecot/core/commit/d219bf98b1d199fe79b2c7505f35a6d5a65eda24
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/Makefile.am
Log Message:
-----------
lib-smtp: Add test-smtp-payload, test-smtp-submit, test-smtp-client-errors, and test-smtp-server-errors to `make check`.
Commit: 267a54ba544d79b365c81e99529b28ac0ff0c57b
https://github.com/dovecot/core/commit/267a54ba544d79b365c81e99529b28ac0ff0c57b
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-http/Makefile.am
Log Message:
-----------
lib-http: Add test-http-payload, test-http-client-errors, and test-http-server-errors to `make check`.
Commit: 8c4ad1451e0f8d281d07ef796895bf73c4055355
https://github.com/dovecot/core/commit/8c4ad1451e0f8d281d07ef796895bf73c4055355
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-http/test-http-client-errors.c
Log Message:
-----------
lib-http: test-http-client-errors: Make the reconnect failure test less time-sensitive.
Easily breaks in Valgrind.
Commit: 66447e451e908a0c67591e5d549f899d5bd5c5da
https://github.com/dovecot/core/commit/66447e451e908a0c67591e5d549f899d5bd5c5da
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/test-smtp-payload.c
Log Message:
-----------
lib-smtp: test-smtp-payload: Terminate the test if it is hanging for some reason.
Commit: fd52ec26f41401d14326f8b01acd741197a78d2e
https://github.com/dovecot/core/commit/fd52ec26f41401d14326f8b01acd741197a78d2e
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/test-smtp-client-errors.c
Log Message:
-----------
lib-smtp: test-smtp-client-errors: Terminate the test if it is hanging for some reason.
Commit: fc5a5613c47d16a85075397617cf5ebb7fa4ff50
https://github.com/dovecot/core/commit/fc5a5613c47d16a85075397617cf5ebb7fa4ff50
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-http/test-http-client-errors.c
Log Message:
-----------
lib-http: test-http-client-errors: Terminate the test if it is hanging for some reason.
Commit: f490b39cf8d2591d43c3131957d6830393d19d53
https://github.com/dovecot/core/commit/f490b39cf8d2591d43c3131957d6830393d19d53
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-http/Makefile.am
M src/lib-http/test-http-payload.c
Log Message:
-----------
lib-http: test-http-payload: Add SSL tests.
Commit: 8ff38cfdba8dbbbefef5b2353ba9d8a02dec015b
https://github.com/dovecot/core/commit/8ff38cfdba8dbbbefef5b2353ba9d8a02dec015b
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/Makefile.am
M src/lib-smtp/test-smtp-payload.c
Log Message:
-----------
lib-smtp: test-smtp-payload: Add SSL tests.
Commit: 754d79d3186d4e9ac12b6ec3c2dda7d763e4e4e2
https://github.com/dovecot/core/commit/754d79d3186d4e9ac12b6ec3c2dda7d763e4e4e2
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-http/test-http-payload.c
Log Message:
-----------
lib-http: test-http-payload: Ignore SIGPIPE.
Commit: 5819d7789f74dfda49f0ad84fcdb0238782e2324
https://github.com/dovecot/core/commit/5819d7789f74dfda49f0ad84fcdb0238782e2324
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/test-smtp-payload.c
Log Message:
-----------
lib-smtp: test-smtp-payload: Ignore SIGPIPE.
Commit: 674b0a15f4eabb4375601104fe180037f924bdcc
https://github.com/dovecot/core/commit/674b0a15f4eabb4375601104fe180037f924bdcc
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-http/http-server-connection.c
M src/lib-http/http-server-private.h
M src/lib-http/http-server.c
M src/lib-http/http-server.h
Log Message:
-----------
lib-http: server: Allow creating server with custom SSL settings.
Normally, the settings are obtained through lib-master, but that is not
really suitable for the test suite.
Commit: 1d341c782f408223aeb789902cbae29b1a0ec24c
https://github.com/dovecot/core/commit/1d341c782f408223aeb789902cbae29b1a0ec24c
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/smtp-server-connection.c
M src/lib-smtp/smtp-server-private.h
M src/lib-smtp/smtp-server.c
M src/lib-smtp/smtp-server.h
Log Message:
-----------
lib-smtp: server: Allow creating server with custom SSL settings.
Normally, the settings are obtained through lib-master, but that is not
really suitable for the test suite.
Commit: 3d3166cdef1d3cf208969e39ff0646448b403333
https://github.com/dovecot/core/commit/3d3166cdef1d3cf208969e39ff0646448b403333
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/smtp-client-connection.c
Log Message:
-----------
lib-smtp: client: Amend connection debug message with source ip:port.
Helps matching debug logs between client and server.
Commit: 510923a05ef4d545e8a252dcbaef5c3cafa55fa4
https://github.com/dovecot/core/commit/510923a05ef4d545e8a252dcbaef5c3cafa55fa4
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/test-smtp-payload.c
Log Message:
-----------
lib-smtp: test-smtp-payload: Keep the number of pending transactions constant.
Before, a window was used.
Commit: 93c58a2317c21f112287f8bf4e566512c4cbbc6e
https://github.com/dovecot/core/commit/93c58a2317c21f112287f8bf4e566512c4cbbc6e
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/test-smtp-payload.c
Log Message:
-----------
lib-smtp: test-smtp-payload: Make proper definition for the maximum number of parallel transactions.
Commit: 17cbf4daa62130f5ed56668f1184249e9ff0a790
https://github.com/dovecot/core/commit/17cbf4daa62130f5ed56668f1184249e9ff0a790
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-http/test-http-payload.c
Log Message:
-----------
lib-http: test-http-payload: Add test for exchanging payload with unknown size.
This will force using the chunked transfer encoding.
Commit: 8df31c7cb2c649c1ccf581fdc12be6f92ac76e05
https://github.com/dovecot/core/commit/8df31c7cb2c649c1ccf581fdc12be6f92ac76e05
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-http/test-http-payload.c
Log Message:
-----------
lib-http: test-http-payload: server: Fix asynchronous listening.
The listening socket was blocking and the io handler only accepted one connection per run.
Commit: f1bbf3b6698be972c1a568386af9c1c17355da37
https://github.com/dovecot/core/commit/f1bbf3b6698be972c1a568386af9c1c17355da37
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-smtp/test-smtp-payload.c
Log Message:
-----------
lib-smtp: test-smtp-payload: server: Fix asynchronous listening.
The listening socket was blocking and the io handler only accepted one connection per run.
Commit: 7c9940739dee431a6cd320bd37099fbb3a145e90
https://github.com/dovecot/core/commit/7c9940739dee431a6cd320bd37099fbb3a145e90
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-ssl-iostream/Makefile.am
A src/lib-ssl-iostream/iostream-ssl-test.c
A src/lib-ssl-iostream/iostream-ssl-test.h
Log Message:
-----------
lib-ssl-iostream: Add support for creating server and client test SSL settings.
This is useful for building test cases with SSL support.
Commit: 1daa759ea1b1a3ce1fb69892716159ee67ce7f92
https://github.com/dovecot/core/commit/1daa759ea1b1a3ce1fb69892716159ee67ce7f92
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib/randgen.c
Log Message:
-----------
lib: Fix compiler warning when arc4random_buf() is used for random_fill()
Commit: 60159147e1064c34bf66c4128e548ff6442e8c72
https://github.com/dovecot/core/commit/60159147e1064c34bf66c4128e548ff6442e8c72
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-06 (Wed, 06 Feb 2019)
Changed paths:
M src/lib-mail/message-parser.h
Log Message:
-----------
lib-mail: message-parser: Fixed Clang 6.0 compiler warning.
Warning was:
index-mail.c:1182:3: warning: arithmetic on a null pointer treated as a cast
from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
message_parser_parse_body(data->parser_ctx,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/lib-mail/message-parser.h:95:28: note: expanded from macro
'message_parser_parse_body'
(void *)((char *)context + CALLBACK_TYPECHECK(callback, \
~~~~~~~~~~~~~~~ ^
Patch: https://github.com/dovecot/core/compare/79b652fff8ea...f53edc22ea0f.patch
More information about the dovecot-cvs
mailing list