[dovecot/core] afdbd3: lib-storage: Fix assert-crash on mailbox_copy/move...

GitHub noreply at github.com
Tue Jan 17 12:30:13 UTC 2017


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: afdbd3214f8102ddf4c760a24872cb1d4e40d5ad
      https://github.com/dovecot/core/commit/afdbd3214f8102ddf4c760a24872cb1d4e40d5ad
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-01-17 (Tue, 17 Jan 2017)

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

  Log Message:
  -----------
  lib-storage: Fix assert-crash on mailbox_copy/move() failure

If mailbox_save_cancel() was being called outside mail_storage_copy()
it assert-crashed:

Panic: file mail-storage.c: line 2168 (mailbox_save_context_reset): assertion failed: (ctx->copying_via_save)


  Commit: 14eb551be3c982b184eb05168ee27c34268cf590
      https://github.com/dovecot/core/commit/14eb551be3c982b184eb05168ee27c34268cf590
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-01-17 (Tue, 17 Jan 2017)

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

  Log Message:
  -----------
  lib-storage: Add vsize extension to index

Keep virtual size in index, instead of cache
when it's less than 2^32-1. This helps when
cache becomes corrupted, and goes away, we
still have virtual sizes for quota calculations.


  Commit: 1ffb3caae7c73b033285617a6820acb4138f5058
      https://github.com/dovecot/core/commit/1ffb3caae7c73b033285617a6820acb4138f5058
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-17 (Tue, 17 Jan 2017)

  Changed paths:
    M src/lib-http/http-server-response.c

  Log Message:
  -----------
  lib-http: server: Prevent sending response payload when it is not allowed by the specification.

For a HEAD request, the payload is omitted, but the associated headers are generated.
For the other cases, an assert failure is now triggered.


  Commit: 998e94a3b4432c813d638a13affe1a98f5ea2dac
      https://github.com/dovecot/core/commit/998e94a3b4432c813d638a13affe1a98f5ea2dac
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-01-17 (Tue, 17 Jan 2017)

  Changed paths:
    M src/lib-http/http-server-request.c

  Log Message:
  -----------
  lib-http: server: Do not generate a payload for a failure response for a HEAD request.


  Commit: 887bddc932371b33dcf41094b6a344486d3128b4
      https://github.com/dovecot/core/commit/887bddc932371b33dcf41094b6a344486d3128b4
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-01-17 (Tue, 17 Jan 2017)

  Changed paths:
    M src/plugins/fts-solr/fts-backend-solr-old.c
    M src/plugins/fts-solr/fts-backend-solr.c

  Log Message:
  -----------
  fts-solr: Escape {} chars when sending queries

Fixes:
java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986

Based on patch by Michael Welsh Duggan


  Commit: b43f7a5057a708863cf9dac790f75797597445cd
      https://github.com/dovecot/core/commit/b43f7a5057a708863cf9dac790f75797597445cd
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-01-17 (Tue, 17 Jan 2017)

  Changed paths:
    M src/lib/hash.c

  Log Message:
  -----------
  lib: Add asserts to make sure hash table isn't freed while it's frozen.


  Commit: cc64a82731ac2fa7d7be2c97664629106e2a5fdb
      https://github.com/dovecot/core/commit/cc64a82731ac2fa7d7be2c97664629106e2a5fdb
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-01-17 (Tue, 17 Jan 2017)

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

  Log Message:
  -----------
  lib-dict: Add assert to make sure all iterators are deinitialized.


  Commit: cba7c7fe94c91a7dc577f6e531727bf00bf761ed
      https://github.com/dovecot/core/commit/cba7c7fe94c91a7dc577f6e531727bf00bf761ed
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-01-17 (Tue, 17 Jan 2017)

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

  Log Message:
  -----------
  dict-file: Fix potential crash when doing other dict calls during iteration.

If file was refreshed, the hash table was cleared, which broke the existing
iterators.


Compare: https://github.com/dovecot/core/compare/c7949e39227e...cba7c7fe94c9


More information about the dovecot-cvs mailing list