[Commits] [SCM] claws branch, master, updated. 4.2.0-92-gafd8acf92

mones at claws-mail.org mones at claws-mail.org
Sun May 12 19:29:56 UTC 2024


The branch, master has been updated
       via  afd8acf920272f1590fd6f5e441a27e2ac0f0678 (commit)
      from  2c1eaa1afc9669cf4fc62f7741e67dadb5919ce6 (commit)

Summary of changes:
 src/procmime.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit afd8acf920272f1590fd6f5e441a27e2ac0f0678
Author: Ricardo Mones <ricardo at mones.org>
Date:   Sun May 12 21:21:14 2024 +0200

    Fix CID 1591844: use after free

diff --git a/src/procmime.c b/src/procmime.c
index 4baf65528..94c612664 100644
--- a/src/procmime.c
+++ b/src/procmime.c
@@ -786,8 +786,8 @@ gboolean procmime_scan_text_content(MimeInfo *mimeinfo,
 #endif
 
 	if (tmpfp == NULL) {
-		g_free(tmpfile);
 		FILE_OP_ERROR(tmpfile, "open");
+		g_free(tmpfile);
 		return TRUE;
 	}
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list