[dovecot/core] 3a2cd4: lib-mail: Fix snippet generation

GitHub noreply at github.com
Wed Aug 17 16:00:17 UTC 2016


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 3a2cd4080289c0dfe1b30125707aedaf0e4fc433
      https://github.com/dovecot/core/commit/3a2cd4080289c0dfe1b30125707aedaf0e4fc433
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-08-17 (Wed, 17 Aug 2016)

  Changed paths:
    M src/lib-mail/message-snippet.c

  Log Message:
  -----------
  lib-mail: Fix snippet generation

Now we won't add leading whitespace for no reason, and also
strip BOM when found.


  Commit: 3060a08fb954f808c8f02341bdd4cf970941f5d2
      https://github.com/dovecot/core/commit/3060a08fb954f808c8f02341bdd4cf970941f5d2
  Author: nikwrt <nikwrt at gmx.de>
  Date:   2016-08-17 (Wed, 17 Aug 2016)

  Changed paths:
    M src/plugins/fts-squat/fts-backend-squat.c
    M src/plugins/fts-squat/squat-trie.c
    M src/plugins/fts-squat/squat-trie.h
    M src/plugins/fts-squat/squat-uidlist.c

  Log Message:
  -----------
  fts-squat: fix Corrupted squat uidlist bug


  Commit: 2d1aea881fdf546fd000e7af4466e5abd78b120c
      https://github.com/dovecot/core/commit/2d1aea881fdf546fd000e7af4466e5abd78b120c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-08-17 (Wed, 17 Aug 2016)

  Changed paths:
    M src/lib-mail/message-snippet.c

  Log Message:
  -----------
  lib-mail: Compiling fix for message-snippet change - U'x' isn't standard.


  Commit: 80d026825949d1b5707d56d118d7fe4cc0bb10cb
      https://github.com/dovecot/core/commit/80d026825949d1b5707d56d118d7fe4cc0bb10cb
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-08-17 (Wed, 17 Aug 2016)

  Changed paths:
    M src/lib-storage/list/mailbox-list-delete.c

  Log Message:
  -----------
  lib-storage: Minor error message fix


  Commit: 1eedaab6818190007fc468ee04d7743adcb1ab6a
      https://github.com/dovecot/core/commit/1eedaab6818190007fc468ee04d7743adcb1ab6a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-08-17 (Wed, 17 Aug 2016)

  Changed paths:
    M src/lib-storage/mail-storage-service.c

  Log Message:
  -----------
  lib-storage: If chdir to home doesn't work, chdir to root instead.

Most importantly this fixes unlink_directory() when current directory
after dropping privileges can't be open()ed.


  Commit: 1dfbc5e4d8954076f7fa2537eeeff10e648e2177
      https://github.com/dovecot/core/commit/1dfbc5e4d8954076f7fa2537eeeff10e648e2177
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-08-17 (Wed, 17 Aug 2016)

  Changed paths:
    M src/lib/md5.c

  Log Message:
  -----------
  md5: Initialize block

Makes static analysers happy


  Commit: 0d1ff8735d9e2bcc2401065dd2bc00012bc488b6
      https://github.com/dovecot/core/commit/0d1ff8735d9e2bcc2401065dd2bc00012bc488b6
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-08-17 (Wed, 17 Aug 2016)

  Changed paths:
    M src/lib/test-priorityq.c

  Log Message:
  -----------
  test-priorityq: Ensure item is not NULL

Makes static analysers happy


  Commit: 5978fb877547d55b4e7b308d833bde51b4cc6f2d
      https://github.com/dovecot/core/commit/5978fb877547d55b4e7b308d833bde51b4cc6f2d
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-08-17 (Wed, 17 Aug 2016)

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

  Log Message:
  -----------
  lib-index: Do not do pointless memmove

Makes static analysers happier, since moving the data
when days is 0 or days is 8 is effectively non-op.


  Commit: a6067d40d920874a8e0f34d109acbbcf23b97a0c
      https://github.com/dovecot/core/commit/a6067d40d920874a8e0f34d109acbbcf23b97a0c
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-08-17 (Wed, 17 Aug 2016)

  Changed paths:
    M src/lib-http/test-http-payload.c

  Log Message:
  -----------
  lib-http: Ensure fstream is not NULL in test

Makes static analysers happier


  Commit: 23554f9290acecad1a9e2f75ace0f7100c968962
      https://github.com/dovecot/core/commit/23554f9290acecad1a9e2f75ace0f7100c968962
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-08-17 (Wed, 17 Aug 2016)

  Changed paths:
    M src/lib/test-mempool-alloconly.c

  Log Message:
  -----------
  lib: Fix SENTRY_CHAR to different kind of number

Makes static analysers happier


  Commit: be4e6321f350293eec38d42ea97d2faaf3a87b4e
      https://github.com/dovecot/core/commit/be4e6321f350293eec38d42ea97d2faaf3a87b4e
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-08-17 (Wed, 17 Aug 2016)

  Changed paths:
    M src/auth/mech-dovecot-token.c

  Log Message:
  -----------
  auth: Check for NULL auth token

Makes static analysers happy


  Commit: 33efd47b6c4f63cc370e2563bd5deac6ef2c35df
      https://github.com/dovecot/core/commit/33efd47b6c4f63cc370e2563bd5deac6ef2c35df
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-08-17 (Wed, 17 Aug 2016)

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

  Log Message:
  -----------
  lib-storage: Make sure data->stream isn't NULL

Makes static analysers happy


  Commit: d18e554af674ce47b8a3fa449e4f3887d13a3283
      https://github.com/dovecot/core/commit/d18e554af674ce47b8a3fa449e4f3887d13a3283
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-08-17 (Wed, 17 Aug 2016)

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

  Log Message:
  -----------
  imapc: Make sure imail.stream is not NULL

Makes static analysers happy


  Commit: 45e3aa0de1aee458cda09adda7bfd9db18fd782b
      https://github.com/dovecot/core/commit/45e3aa0de1aee458cda09adda7bfd9db18fd782b
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-08-17 (Wed, 17 Aug 2016)

  Changed paths:
    M src/auth/mech-apop.c

  Log Message:
  -----------
  auth: Ensure username can't be left unset in APOP

Makes static analysers happy


  Commit: bd86b25e03b8409eb2d68788dabecd8dd757dc3c
      https://github.com/dovecot/core/commit/bd86b25e03b8409eb2d68788dabecd8dd757dc3c
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-08-17 (Wed, 17 Aug 2016)

  Changed paths:
    M src/lib-master/master-login-auth.c

  Log Message:
  -----------
  lib-master: Check for NULL in input/output

Makes static analysers happy


  Commit: e8671affcb9256a781c11cdd2d1100521cbaaedc
      https://github.com/dovecot/core/commit/e8671affcb9256a781c11cdd2d1100521cbaaedc
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-08-17 (Wed, 17 Aug 2016)

  Changed paths:
    M src/plugins/fts-squat/squat-trie.c

  Log Message:
  -----------
  fts-squat: Ensure child is not NULL

Makes static analysers happy


  Commit: 3d3536765063cef4d58a2a46b276f8ef9c3b9693
      https://github.com/dovecot/core/commit/3d3536765063cef4d58a2a46b276f8ef9c3b9693
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-08-17 (Wed, 17 Aug 2016)

  Changed paths:
    M src/lib-dcrypt/istream-decrypt.c
    M src/lib-dcrypt/test-stream.c

  Log Message:
  -----------
  lib-dcrypt: Fixed partial reads in header and limit header's max size.

Also fixes test-stream to actually test nonblocking reads correctly.


  Commit: 43cce3eba5643bb335f459316e6361a2a6cd5345
      https://github.com/dovecot/core/commit/43cce3eba5643bb335f459316e6361a2a6cd5345
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-08-17 (Wed, 17 Aug 2016)

  Changed paths:
    M src/lib-dcrypt/istream-decrypt.c
    M src/lib-dcrypt/ostream-encrypt.c

  Log Message:
  -----------
  lib-dcrypt: Fixed accessing out-of-bounds data in istream.

Also some small cleanups to make it clearer what's actually happening.


  Commit: 28d1de513563edce9a29b203477a8a7d54771059
      https://github.com/dovecot/core/commit/28d1de513563edce9a29b203477a8a7d54771059
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2016-08-17 (Wed, 17 Aug 2016)

  Changed paths:
    M src/imap-hibernate/imap-client.c

  Log Message:
  -----------
  imap-hibernate: fix input_pending check in client_unhibernate_cmp

Check c2->input_pending instead of c1->input_pending when calculating
comparison value for c2.


  Commit: 01e58ef2b5e34e16339225a4383e204485f450dd
      https://github.com/dovecot/core/commit/01e58ef2b5e34e16339225a4383e204485f450dd
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-08-17 (Wed, 17 Aug 2016)

  Changed paths:
    M src/lib-dict/dict-client.c

  Log Message:
  -----------
  dict-client: Improve "slow dict operation" warnings in error conditions.

There's no need to log both an error and a warning.


  Commit: 3bb1aecfec2ba1a58012a04d611fd244cb6440e7
      https://github.com/dovecot/core/commit/3bb1aecfec2ba1a58012a04d611fd244cb6440e7
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-08-17 (Wed, 17 Aug 2016)

  Changed paths:
    M src/lib-dict/dict-client.c

  Log Message:
  -----------
  dict-client: Keep transaction's pointer in command until it's finished.


  Commit: e53c3da9b50a7054b2b797b58d0311516c60cc6e
      https://github.com/dovecot/core/commit/e53c3da9b50a7054b2b797b58d0311516c60cc6e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-08-17 (Wed, 17 Aug 2016)

  Changed paths:
    M src/lib-dict/dict-client.c
    M src/lib-dict/dict-private.h
    M src/lib-dict/dict.c
    M src/lib-dict/dict.h

  Log Message:
  -----------
  lib-dict: Added dict_transaction_no_slowness_warning()


  Commit: 673e05e55bb88cbf3bcfa1e8152baf6d8600d1ff
      https://github.com/dovecot/core/commit/673e05e55bb88cbf3bcfa1e8152baf6d8600d1ff
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-08-17 (Wed, 17 Aug 2016)

  Changed paths:
    M src/plugins/last-login/last-login-plugin.c
    M src/plugins/quota/quota-dict.c

  Log Message:
  -----------
  quota, last-login: Disable "slow dict commit" warnings

Anything (especially long lock waits) can happen between the commit and when
we read their replies.


Compare: https://github.com/dovecot/core/compare/c09f8e4a3a2e...673e05e55bb8


More information about the dovecot-cvs mailing list