[dovecot/core] a44595: push-notification: Switch to main ioloop while cal...

GitHub noreply at github.com
Tue Jun 13 12:00:09 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: a44595f7b1afc7ccbd8653598753b32899d01c76
      https://github.com/dovecot/core/commit/a44595f7b1afc7ccbd8653598753b32899d01c76
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-06-13 (Tue, 13 Jun 2017)

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

  Log Message:
  -----------
  push-notification: Switch to main ioloop while calling drivers' commit callbacks

There aren't any guarantees what ioloop happens to be active at the time
the commit is called. The active ioloop can also be destroyed early on,
which can cause an I/O leak and crashes later on.




More information about the dovecot-cvs mailing list