[dovecot/core] 1b5e38: lib-http: client: Fix segfault by making the initi...
GitHub
noreply at github.com
Fri Sep 28 10:00:12 EEST 2018
Branch: refs/heads/master-2.3
Home: https://github.com/dovecot/core
Commit: 1b5e38152bb74ca45c20d2fe2d5b54e792b34c74
https://github.com/dovecot/core/commit/1b5e38152bb74ca45c20d2fe2d5b54e792b34c74
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-09-28 (Fri, 28 Sep 2018)
Changed paths:
M src/lib-http/http-client-connection.c
Log Message:
-----------
lib-http: client: Fix segfault by making the initialization of the connection after SSL handshake reliable.
Before, the connection was not guaranteed to be fully initialized after the SSL
handshake. The problem would occur when the handshake finished while writing the
SSL output stream.
Commit: c4f8ab0368c5dc5cfe3a7f018761c31c0033ab7f
https://github.com/dovecot/core/commit/c4f8ab0368c5dc5cfe3a7f018761c31c0033ab7f
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-09-28 (Fri, 28 Sep 2018)
Changed paths:
M src/lib-smtp/smtp-client-connection.c
M src/lib-smtp/smtp-client-private.h
Log Message:
-----------
lib-smtp: client: Make the initialization of the connection after SSL handshake reliable.
Before, the connection was not guaranteed to be fully initialized after the SSL
handshake. The problem would occur when the handshake finished while writing the
SSL output stream. In a similar HTTP client issue, this caused a segfault.
Compare: https://github.com/dovecot/core/compare/0ec71156a05a...c4f8ab0368c5
**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