[dovecot/core] 2814b4: lib-smtp: server: Fix infinite loop when client di...

GitHub noreply at github.com
Mon Dec 18 15:30:22 EET 2017


  Branch: refs/heads/master-2.3
  Home:   https://github.com/dovecot/core
  Commit: 2814b4731dacb25bed5e58efb5d08c90fe6714b9
      https://github.com/dovecot/core/commit/2814b4731dacb25bed5e58efb5d08c90fe6714b9
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-12-18 (Mon, 18 Dec 2017)

  Changed paths:
    M src/lib-smtp/smtp-command-parser.c
    M src/lib-smtp/smtp-command-parser.h
    M src/lib-smtp/test-smtp-command-parser.c

  Log Message:
  -----------
  lib-smtp: server: Fix infinite loop when client disconnects in initial state


  Commit: f8d6f8d9c6479faae9eab29586eb10104185ac7e
      https://github.com/dovecot/core/commit/f8d6f8d9c6479faae9eab29586eb10104185ac7e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-12-18 (Mon, 18 Dec 2017)

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

  Log Message:
  -----------
  lib-smtp: server: Fix panic when io_remove() is called too late

With submission-login the conn_disconnect() callback ends up in
login-common's client_disconnect(), which closes the file descriptor.
The io_remove() was done afterwards, which caused a crash:

submission-login: Panic: epoll_ctl(del, 18) failed: Bad file descriptor


  Commit: c9d1ad790c9ccc613dd781b757db0d23f1c1b30c
      https://github.com/dovecot/core/commit/c9d1ad790c9ccc613dd781b757db0d23f1c1b30c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-12-18 (Mon, 18 Dec 2017)

  Changed paths:
    M src/submission/main.c

  Log Message:
  -----------
  submission: Fix memory leaks at deinit when submission_relay_host setting is missing


  Commit: b1e79edd123d1310f50e063eb1802028d3d56988
      https://github.com/dovecot/core/commit/b1e79edd123d1310f50e063eb1802028d3d56988
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-12-18 (Mon, 18 Dec 2017)

  Changed paths:
    M doc/example-config/conf.d/20-submission.conf

  Log Message:
  -----------
  doc: example-config: Properly document SSL configuration for submission relay server.


Compare: https://github.com/dovecot/core/compare/9b375f535153...b1e79edd123d


More information about the dovecot-cvs mailing list