]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-smtp: smtp-client-command - Generate multiple callbacks when required in smtp_cli...
authorStephan Bosch <stephan.bosch@open-xchange.com>
Thu, 19 Jun 2025 23:48:48 +0000 (01:48 +0200)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Sun, 29 Jun 2025 17:22:15 +0000 (17:22 +0000)
commitb012cfb3b17e14b79b0a5d13624d554f9a6b5254
treed852a9fd147845c6a425e685cee5b4b5712b01f2
parentd344c3327f2e9db252a36d8efb9c8bdf1e3ff009
lib-smtp: smtp-client-command - Generate multiple callbacks when required in smtp_client_command_fail*()

This requirement applies to the LTMP DATA command when more than a single
recipient is approved.

This caused a crash in the LMTP service occurring when the proxy client
connection was lost during the DATA command while more than a single RCPT
command was expected earlier. This situation caused an early free/dangling
pointer for the DATA command struct, subsequently causing a crash at
deinitialization of the proxy.
src/lib-smtp/smtp-client-command.c