Commit 23e41f6c 23e41f6cc9134f5cac18219f79e7ea65248baa95 by Sergey Poznyakoff

(mu_parse822_time): Assume UTC for invalid or unknown timezones.

1 parent 605c3795
......@@ -1639,8 +1639,8 @@ mu_parse822_time (const char **p, const char *e,
}
else if (strlen (zone) > 5 || strlen (zone) < 4)
{
str_free (&zone);
return EPARSE;
if (*tz)
*tz = 0; /* Assume UTC */
}
else
{
......