[dovecot/core] 7736f2: iostream-temp: If write() to temp file fails at an...

GitHub noreply at github.com
Mon Sep 19 13:00:28 UTC 2016


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 7736f24e80078aea794c1c9341de82d4c6956107
      https://github.com/dovecot/core/commit/7736f24e80078aea794c1c9341de82d4c6956107
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-09-19 (Mon, 19 Sep 2016)

  Changed paths:
    M src/lib/iostream-temp.c
    M src/lib/iostream-temp.h

  Log Message:
  -----------
  iostream-temp: If write() to temp file fails at any time, move it back to memory.

Similarly to if the write() to temp fails during the initial move attempt.
This way even if write() fails due to out of disk space, it's not visible
to caller. An error message is logged in any case.


  Commit: f2ade3006e45ccf21c820d71f9108f7aa2648fcf
      https://github.com/dovecot/core/commit/f2ade3006e45ccf21c820d71f9108f7aa2648fcf
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-09-19 (Mon, 19 Sep 2016)

  Changed paths:
    M src/plugins/pop3-migration/pop3-migration-plugin.c

  Log Message:
  -----------
  pop3-migration: Fixed crash when not specifying pop3_migration_mailbox setting.


  Commit: 68571169a44b0879d217f1b7bf2193f12862587d
      https://github.com/dovecot/core/commit/68571169a44b0879d217f1b7bf2193f12862587d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-09-19 (Mon, 19 Sep 2016)

  Changed paths:
    M src/lib/safe-mkstemp.c

  Log Message:
  -----------
  lib: safe_mkstemp*() didn't always truncate prefix back to original on failure.

This caused repeated safe_mkstemp*() calls with the same prefix to keep
increasing its size. It probably didn't really break anything (unless it was
called enough many times to reach 255 filename length), but the filenames
were still confusingly ugly.


  Commit: 69de251551ebe6defc646f9228a733d5c6a3e4ff
      https://github.com/dovecot/core/commit/69de251551ebe6defc646f9228a733d5c6a3e4ff
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-09-19 (Mon, 19 Sep 2016)

  Changed paths:
    M src/lib-fs/fs-randomfail.c

  Log Message:
  -----------
  fs-randomfail: Operation is unfinished on EAGAIN, not ENOENT.

This caused crashes and other problems when using randomfail with
asynchronous fs drivers.


  Commit: 461e4c7e6ca31a47a0dcc020c74074e6d2c81f08
      https://github.com/dovecot/core/commit/461e4c7e6ca31a47a0dcc020c74074e6d2c81f08
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-09-19 (Mon, 19 Sep 2016)

  Changed paths:
    M src/auth/auth-policy.c

  Log Message:
  -----------
  auth-policy: Ref/unref auth request

If auth_request is not referenced it can go away
before HTTP response is handled.


  Commit: ff3bf633ae277fceeb7e3e9b12d0a1064995c31d
      https://github.com/dovecot/core/commit/ff3bf633ae277fceeb7e3e9b12d0a1064995c31d
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-09-19 (Mon, 19 Sep 2016)

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

  Log Message:
  -----------
  fts-backend-lucene: Check that box is not NULL

fts_backend_update_deinit will set box to NULL and call
update_set_mailbox then.


  Commit: 04a1b385004803577f11f76781c35d043a1838f6
      https://github.com/dovecot/core/commit/04a1b385004803577f11f76781c35d043a1838f6
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-09-19 (Mon, 19 Sep 2016)

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

  Log Message:
  -----------
  fts-backend-solr: Check that box is not NULL

fts_backend_update_deinit will set box to NULL and call
update_set_mailbox then.


  Commit: ea091ce92f74ebfc9a60477133fb811b325c2c14
      https://github.com/dovecot/core/commit/ea091ce92f74ebfc9a60477133fb811b325c2c14
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-09-19 (Mon, 19 Sep 2016)

  Changed paths:
    M src/plugins/fts/fts-api.c

  Log Message:
  -----------
  fts-plugin: Remove NULL assert

fts_backend_update_deinit will set box to NULL and call
update_set_mailbox then. NULL check needs to be done
in backends.


Compare: https://github.com/dovecot/core/compare/c06590cb3d4d...ea091ce92f74


More information about the dovecot-cvs mailing list