summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-11-17 09:10:15 +0200
committerSergey Poznyakoff <gray@gnu.org>2019-11-17 09:11:51 +0200
commitc1b1da9202a5903007496461e5fe69004fbde7ff (patch)
tree126ff80171bc871887561bad00642882c0baeac8
parent5c6cb548eae63e4971270d391c29af81d9ec504b (diff)
downloadmailutils-c1b1da9202a5903007496461e5fe69004fbde7ff.tar.gz
mailutils-c1b1da9202a5903007496461e5fe69004fbde7ff.tar.bz2
Bugfix
* libmailutils/mailbox/msgenv.c (get_received_date): Fix possible NULL dereference.
-rw-r--r--libmailutils/mailbox/msgenv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmailutils/mailbox/msgenv.c b/libmailutils/mailbox/msgenv.c
index a9b2cb30e..c797eb1e0 100644
--- a/libmailutils/mailbox/msgenv.c
+++ b/libmailutils/mailbox/msgenv.c
@@ -66,3 +66,3 @@ get_received_date (mu_message_t msg, struct tm *tm, struct mu_timezone *tz)
p = strchr (val, ';');
- if (*p)
+ if (p)
{

Return to:

Send suggestions and report system problems to the System administrator.