]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-smtp: server: Fix segfault occurring when XCLIENT command is handled.
authorStephan Bosch <stephan.bosch@dovecot.fi>
Wed, 14 Feb 2018 21:20:20 +0000 (22:20 +0100)
committerStephan Bosch <stephan.bosch@dovecot.fi>
Wed, 14 Feb 2018 21:47:03 +0000 (22:47 +0100)
commit8366c177e4901d851c94eb612633ffccaf5a9712
treee64d6bfc973c5f14508172ddac81d71b1ee41de0
parent2a33e0253aa28f156949d40584008a3a337d32e8
lib-smtp: server: Fix segfault occurring when XCLIENT command is handled.

Occurs only when the application (in this case LMTP) has a
conn_proxy_data_updated() callback. The context parameter was the struct
smtp_server_connection object itself, rather than the application context. This
caused the connection object to be overwritten.
src/lib-smtp/smtp-server-connection.c