From: Wilfried Goesgens Date: Sat, 26 May 2012 10:48:17 +0000 (+0200) Subject: SMTP-Client: another possible NULL-Pointer access. X-Git-Tag: v8.12~61 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=74d944df6c1b975e1721a8673375ddb7bb387082 SMTP-Client: another possible NULL-Pointer access. --- diff --git a/citadel/modules/smtp/serv_smtpeventclient.c b/citadel/modules/smtp/serv_smtpeventclient.c index f08efde76..5cf7e7e4a 100644 --- a/citadel/modules/smtp/serv_smtpeventclient.c +++ b/citadel/modules/smtp/serv_smtpeventclient.c @@ -608,7 +608,7 @@ void smtp_try_one_queue_entry(OneQueItem *MyQItem, } else { /* No recipients? well fail then. */ - if (Msg->MyQEntry == NULL) { + if (Msg->MyQEntry != NULL) { Msg->MyQEntry->Status = 5; StrBufPlain(Msg->MyQEntry->StatusMessage, HKEY("Invalid Recipient!"));