[dovecot/core] 899ba9: lib-smtp: server: data command: Dereference comman...

GitHub noreply at github.com
Tue Jun 26 22:30:05 EEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 899ba91a956b0306a32656bb9c9760a92fcbb631
      https://github.com/dovecot/core/commit/899ba91a956b0306a32656bb9c9760a92fcbb631
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-06-26 (Tue, 26 Jun 2018)

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

  Log Message:
  -----------
  lib-smtp: server: data command: Dereference command at single place during input handling.


  Commit: 347271f27f4bbabbf6da1e7cf864976a349772f3
      https://github.com/dovecot/core/commit/347271f27f4bbabbf6da1e7cf864976a349772f3
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-06-26 (Tue, 26 Jun 2018)

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

  Log Message:
  -----------
  lib-smtp: server: data command: Hold a reference to the connection while handling input.

Makes sure connection object remains available while command is handled. Fixes a
valgrind error reported for accessing the connection object after it is freed,
which happens for the destroy debug message of the command (even when debugging
is not enabled).


Compare: https://github.com/dovecot/core/compare/5cc9abeb43fb...347271f27f4b
      **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