[dovecot/core] d2b618: lib-auth: Prevent double-disconnect

GitHub noreply at github.com
Fri Dec 22 10:00:10 EET 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: d2b6189eb61fc0e8a37f8814427282304e39e72c
      https://github.com/dovecot/core/commit/d2b6189eb61fc0e8a37f8814427282304e39e72c
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-12-22 (Fri, 22 Dec 2017)

  Changed paths:
    M src/lib-auth/auth-server-connection.c
    M src/lib-auth/auth-server-connection.h

  Log Message:
  -----------
  lib-auth: Prevent double-disconnect

When disconnecting, it's possible that
disconnect gets called twice by some callback,
so protect it with a boolean.

Fixes Panic: file hash.c: line 152 (hash_table_clear): assertion failed: (table->frozen == 0)


  Commit: 05a4fe649671ac5ca6b3beb085c73e6e85bc4f8b
      https://github.com/dovecot/core/commit/05a4fe649671ac5ca6b3beb085c73e6e85bc4f8b
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-12-22 (Fri, 22 Dec 2017)

  Changed paths:
    M src/lib-auth/auth-server-connection.c
    M src/lib-auth/auth-server-connection.h

  Log Message:
  -----------
  lib-auth: Require being connected before adding requests


Compare: https://github.com/dovecot/core/compare/1171e5f92b20...05a4fe649671


More information about the dovecot-cvs mailing list