[Commits] [SCM] claws branch, master, updated. 4.1.1-64-gc18a2f85c
wwp at claws-mail.org
wwp at claws-mail.org
Fri Jun 9 15:22:30 UTC 2023
The branch, master has been updated
via c18a2f85c5680a0aaeefff4e949a25666aab13bd (commit)
from dc955cc65c64fc3d9e2396b5330fda3df508acc0 (commit)
Summary of changes:
src/procheader.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit c18a2f85c5680a0aaeefff4e949a25666aab13bd
Author: wwp <subscript at free.fr>
Date: Fri Jun 9 17:22:27 2023 +0200
Fix CID 1532282.
diff --git a/src/procheader.c b/src/procheader.c
index 4e57f5ad5..05fbf2645 100644
--- a/src/procheader.c
+++ b/src/procheader.c
@@ -973,10 +973,12 @@ static gint procheader_scan_date_string(const gchar *o_str,
gint zone1 = 0, zone2 = 0;
gchar offset_sign, zonestr[7];
gchar sep1;
- gchar str[strlen(o_str)+1];
if (o_str == NULL)
return -1;
+
+ gchar str[strlen(o_str)+1];
+
strcpy(str, o_str);
if (strchr(str, '(') != NULL)
procheader_remove_comment_in_date_string(str);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list