talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit afd8acf920272f1590fd6f5e441a27e2ac0f0678
parent 2c1eaa1afc9669cf4fc62f7741e67dadb5919ce6
Author: Ricardo Mones <ricardo@mones.org>
Date:   Sun, 12 May 2024 21:21:14 +0200

Fix CID 1591844: use after free

Diffstat:
Msrc/procmime.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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; }