[dovecot/core] 68d510: lib-smtp: client: Fix segfault occurring in connec...

GitHub noreply at github.com
Mon Jan 22 18:30:11 EET 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 68d51078686e3d0b305f91e400c29e581343aeb1
      https://github.com/dovecot/core/commit/68d51078686e3d0b305f91e400c29e581343aeb1
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-01-22 (Mon, 22 Jan 2018)

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

  Log Message:
  -----------
  lib-smtp: client: Fix segfault occurring in connection when SSL certificate is invalid.

The connection is using its own local SSL settings to determine whether an
invalid certificate is allowed. However, these local settings were not properly
initialized.


  Commit: 5db9891a9dee031ee3e4dfb74c95d5136c5f771a
      https://github.com/dovecot/core/commit/5db9891a9dee031ee3e4dfb74c95d5136c5f771a
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-01-22 (Mon, 22 Jan 2018)

  Changed paths:
    M src/lib-smtp/smtp-client-connection.c
    M src/lib-smtp/smtp-client-private.h

  Log Message:
  -----------
  lib-smtp: client: Properly allow per-connection SSL configuration.

Although this was already partially possible, the connection was still always
using the global client SSL context.


  Commit: 7501ff318cd45e2b1fc63bafa713c2f0974780f3
      https://github.com/dovecot/core/commit/7501ff318cd45e2b1fc63bafa713c2f0974780f3
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-01-22 (Mon, 22 Jan 2018)

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

  Log Message:
  -----------
  lib-smtp: client: Always use per-connection settings in connection.

Some part of the connection code referred to global client settings.


  Commit: c26c060e415eb0047b6eb71470ac4ec2e0736b31
      https://github.com/dovecot/core/commit/c26c060e415eb0047b6eb71470ac4ec2e0736b31
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-01-22 (Mon, 22 Jan 2018)

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

  Log Message:
  -----------
  lib-smtp: client: Assign only connection settings during connection initialization.

Due to some copy-paste mistake, some global client settings were assigned
instead.


Compare: https://github.com/dovecot/core/compare/fe2a62737d08...c26c060e415e


More information about the dovecot-cvs mailing list