From: Thomas Roessler Date: Sun, 4 Jan 2004 09:42:35 +0000 (+0000) Subject: Fix a NULL pointer deference noted by Will Fiveash X-Git-Tag: mutt-1-5-6-rel~50 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e0f0a5bf4beaddf8915f09a219470da2e739ca3;p=mutt Fix a NULL pointer deference noted by Will Fiveash . --- diff --git a/smime.c b/smime.c index 87a1a2b7..fda19e95 100644 --- a/smime.c +++ b/smime.c @@ -692,10 +692,10 @@ void _smime_getkeys (char *mailbox) } snprintf (SmimeKeyToUse, sizeof (SmimeKeyToUse), "%s/%s", - NONULL (SmimeKeys), SmimeDefaultKey); + NONULL (SmimeKeys), NONULL (SmimeDefaultKey)); snprintf (SmimeCertToUse, sizeof (SmimeCertToUse), "%s/%s", - NONULL (SmimeCertificates), SmimeDefaultKey); + NONULL (SmimeCertificates), NONULL (SmimeDefaultKey)); } void smime_getkeys (ENVELOPE *env)