[dovecot/core] 312343: lib-imap-client: Fix crash when ostream output blo...

GitHub noreply at github.com
Mon Jun 25 14:00:06 EEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 31234376c416885e30993baaf5d2306ee43600bc
      https://github.com/dovecot/core/commit/31234376c416885e30993baaf5d2306ee43600bc
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-06-25 (Mon, 25 Jun 2018)

  Changed paths:
    M src/lib-imap-client/imapc-connection.c

  Log Message:
  -----------
  lib-imap-client: Fix crash when ostream output blocks before connection finishes

It's possible that ostream tries to add IO_WRITE callback before
imapc_connection_connected() callback is called.

Fixes:
Panic: io_add(0x2) called twice fd=15, callback=0x... -> 0x...



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the dovecot-cvs mailing list