[dovecot/core | refs/heads/master] f5c8e091: lib-smtp: smtp-client-command - Avoid calling the callback for the DATA command during submission.
noreply at dovecot.org
noreply at dovecot.org
Fri Feb 8 00:20:07 EET 2019
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: f5c8e091043e2c752dbbfce9a816660cb28935d7
https://github.com/dovecot/core/commit/f5c8e091043e2c752dbbfce9a816660cb28935d7
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-07 (Thu, 07 Feb 2019)
Changed paths:
M src/lib-smtp/smtp-client-command.c
M src/lib-smtp/smtp-client-connection.c
M src/lib-smtp/smtp-client-private.h
Log Message:
-----------
lib-smtp: smtp-client-command - Avoid calling the callback for the DATA command during submission.
This causes a race condition in which the command object is already freed when
it is returned from smtp_client_command_data_submit(). This scenario occurs when
reading data for the first BDAT command fails.
Commit: 24d30b28dcb411b11f1687edde1d70c355203e01
https://github.com/dovecot/core/commit/24d30b28dcb411b11f1687edde1d70c355203e01
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2019-02-07 (Thu, 07 Feb 2019)
Changed paths:
M src/lib-smtp/smtp-client-command.c
Log Message:
-----------
lib-smtp: smtp-client - Send correct size value for BDAT command when the data lacks CR.
The addition of CR was ignored in the size specification because the original
unaltered stream was used for the size calculations.
Patch: https://github.com/dovecot/core/compare/733afb9f517c...f5c8e091043e.patch
More information about the dovecot-cvs
mailing list