[dovecot/core] 385198: lib-smtp: server: Restructure reference counting o...

GitHub noreply at github.com
Tue Sep 25 12:30:19 EEST 2018


  Branch: refs/heads/master-2.3
  Home:   https://github.com/dovecot/core
  Commit: 385198f3f31bdf8b7190c302cff01b10a3a74700
      https://github.com/dovecot/core/commit/385198f3f31bdf8b7190c302cff01b10a3a74700
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-09-25 (Tue, 25 Sep 2018)

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

  Log Message:
  -----------
  lib-smtp: server: Restructure reference counting of BDAT/BURL chain stream.

It is now dereferenced directly, rather than via a local variable; thereby
making sure it is reset to NULL.


  Commit: f7b79bb6876bafa7a8ffc8be0ec07b4a68ccff98
      https://github.com/dovecot/core/commit/f7b79bb6876bafa7a8ffc8be0ec07b4a68ccff98
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-09-25 (Tue, 25 Sep 2018)

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

  Log Message:
  -----------
  lib-smtp: server: connection: Rely on i_stream_destroy(NULL) being a no-op.


  Commit: 255d1aec8c7e4b3dc2e2e6c4fef4bb7516e0447a
      https://github.com/dovecot/core/commit/255d1aec8c7e4b3dc2e2e6c4fef4bb7516e0447a
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-09-25 (Tue, 25 Sep 2018)

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

  Log Message:
  -----------
  lib-smtp: server: Fix memory leak occurring when an error occurs early for BDAT/BURL.


Compare: https://github.com/dovecot/core/compare/110d5f086483...255d1aec8c7e
      **NOTE:** This service has 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