[Commits] [SCM] claws branch, gtk2, updated. 3.19.1-51-g00f7e8964

wwp at claws-mail.org wwp at claws-mail.org
Fri Jun 9 15:22:46 UTC 2023


The branch, gtk2 has been updated
       via  00f7e896472f2d412723173da4a3cc62a524d179 (commit)
      from  c4b4aed435213310340cb03f2b95c8ef08a9129d (commit)

Summary of changes:
 src/procheader.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 00f7e896472f2d412723173da4a3cc62a524d179
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