[dovecot/core] 5a4ba1: push-notification plugin: properly terminate strin...

GitHub noreply at github.com
Tue Sep 12 12:30:12 EEST 2017


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 5a4ba1e4e7a21c2a2de4cf4c0230c0e2a0797a52
      https://github.com/dovecot/core/commit/5a4ba1e4e7a21c2a2de4cf4c0230c0e2a0797a52
  Author: Michael Koch <michael.koch at open-xchange.com>
  Date:   2017-09-12 (Tue, 12 Sep 2017)

  Changed paths:
    M src/plugins/push-notification/push-notification-driver-ox.c

  Log Message:
  -----------
  push-notification plugin: properly terminate strings

Without this fix, if the new message does not contain a from, a subject, and
a snippet the generated JSON will be malformed (the status check at the end
appended a '"' when it shouldn't have).


  Commit: 71a14afa6773d4c044b52a17a60433858b4eb163
      https://github.com/dovecot/core/commit/71a14afa6773d4c044b52a17a60433858b4eb163
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-12 (Tue, 12 Sep 2017)

  Changed paths:
    M src/lib/macros.h

  Log Message:
  -----------
  lib: Fix compiler warning about mixing boolean with multiplication


  Commit: b3db38ab535d877f48bfc2610b731e4a78742061
      https://github.com/dovecot/core/commit/b3db38ab535d877f48bfc2610b731e4a78742061
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-12 (Tue, 12 Sep 2017)

  Changed paths:
    M src/lib/ioloop.h

  Log Message:
  -----------
  lib: Add missing parenthesis to timeout_add()'s msecs parameter checks

This caused wrong results when the msecs parameter contained e.g. var?1:2


  Commit: 6983e2035f9857f3e679524c393286c2d4aee8a4
      https://github.com/dovecot/core/commit/6983e2035f9857f3e679524c393286c2d4aee8a4
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-12 (Tue, 12 Sep 2017)

  Changed paths:
    M src/auth/password-scheme.c
    M src/lib-fts/fts-filter-contractions.c
    M src/lib-index/mail-transaction-log-file.c
    M src/lib-ldap/ldap-connection.c
    M src/lib-mail/istream-attachment-extractor.c
    M src/lib-mail/message-header-encode.c
    M src/lib-storage/index/imapc/imapc-search.c
    M src/lib-storage/mail-search.c
    M src/lib/json-parser.c
    M src/plugins/fts/fts-search-args.c

  Log Message:
  -----------
  global: Add/change switch case "fall through" comments

These fix warnings with gcc 7's -Wimplicit-fallthrough


  Commit: 0d5f8a652a85617c3896697aee30b89004604262
      https://github.com/dovecot/core/commit/0d5f8a652a85617c3896697aee30b89004604262
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2017-09-12 (Tue, 12 Sep 2017)

  Changed paths:
    M src/lib-settings/settings-parser.c

  Log Message:
  -----------
  lib-settings: Escape comma in section name.

Comma is valid symbol in encoded non-ascii section names, so it
shouldn't be used as splitting symbol in section name.


  Commit: 575dc514716c9423163d933d18d75a8457b3ccbc
      https://github.com/dovecot/core/commit/575dc514716c9423163d933d18d75a8457b3ccbc
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-12 (Tue, 12 Sep 2017)

  Changed paths:
    M src/lib-index/mail-transaction-log.c

  Log Message:
  -----------
  lib-index: Avoid opening .log.2 file if .log was reset

After a reset there's no point in trying to read the older log files.
This avoids trying to open .log.2 at least for newly created mailboxes
when trying to lookup log file sequence 1 (since due to some bug/feature
the log files start from sequence 2).


  Commit: 2dceda4a6b071eec420d42f5cb8ec5a55991d8ab
      https://github.com/dovecot/core/commit/2dceda4a6b071eec420d42f5cb8ec5a55991d8ab
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-12 (Tue, 12 Sep 2017)

  Changed paths:
    M src/lib-storage/index/index-rebuild.c

  Log Message:
  -----------
  lib-storage: Preserve messages' vsize record when rebuilding index

Since vsize is often used by quota, losing this can be very expensive.
If the vsize is wrong, it gets fixed automatically when fetching the
message body.


Compare: https://github.com/dovecot/core/compare/bb82aeaf07bc...2dceda4a6b07


More information about the dovecot-cvs mailing list