]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-smtp: client: transaction: Prevent NULL dereference in smtp_client_transaction_un...
authorStephan Bosch <stephan.bosch@dovecot.fi>
Sun, 13 Jan 2019 22:17:54 +0000 (23:17 +0100)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Wed, 5 Feb 2020 13:16:02 +0000 (13:16 +0000)
commit48201a670eaf90dd8a94108dc836d2ce9d282235
tree546a7e629fb933849b01ee249c8598b6b69d09cd
parentaf22b4008fddc4be3d695f27512d504f3302bbe5
lib-smtp: client: transaction: Prevent NULL dereference in smtp_client_transaction_unref().

The trans pointer is used before it is checked for being NULL, which is allowed
for this function.

Problem found by Coverity.
src/lib-smtp/smtp-client-transaction.c