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

GitHub noreply at github.com
Mon Dec 18 14:00:12 EET 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 4e4b3ae48b9ce1c397189c263cbd42df1b8c1d87
      https://github.com/dovecot/core/commit/4e4b3ae48b9ce1c397189c263cbd42df1b8c1d87
  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: ad9dc923a7169d70d8fdefc5746a87af6eda646d
      https://github.com/dovecot/core/commit/ad9dc923a7169d70d8fdefc5746a87af6eda646d
  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: 9cb0d95152a758e35e5835b4205cfcfafba2fa63
      https://github.com/dovecot/core/commit/9cb0d95152a758e35e5835b4205cfcfafba2fa63
  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


Compare: https://github.com/dovecot/core/compare/60a85755d10c...9cb0d95152a7


More information about the dovecot-cvs mailing list