[dovecot/core] 5da08a: quota-clone: Fixed update-recursion crash when clo...

GitHub noreply at github.com
Tue Jan 19 13:22:06 UTC 2016


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

  Changed paths:
    M src/plugins/quota-clone/quota-clone-plugin.c

  Log Message:
  -----------
  quota-clone: Fixed update-recursion crash when closing mailbox.

We need to avoid recursing for all mailboxes that quota recalculation
might open and close, not just the one that triggered the recalculation.


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

  Changed paths:
    M src/plugins/quota-clone/quota-clone-plugin.c

  Log Message:
  -----------
  quota-clone: Avoid leaving a dict transaction open for unnecessarily long.

Even though the earlier change should fix the dict assert crash due to
opening multiple transactions when recursing back, this makes sure of it.
It could also be helpful for some dict backends to not keep the transaction
open for unnecessarily long.


Compare: https://github.com/dovecot/core/compare/934f04e8a86c...d861bc0977b2


More information about the dovecot-cvs mailing list