[Commits] [SCM] claws branch, master, updated. 3.17.3-185-gab7a287
ticho at claws-mail.org
ticho at claws-mail.org
Wed Jul 3 11:19:59 CEST 2019
The branch, master has been updated
via ab7a28732a1bd38741d951dc3975f53460d6e66b (commit)
from 5ff65a47686854b082fca1fbb7b64e11e9a47e3f (commit)
Summary of changes:
src/plugins/fancy/fancy_viewer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit ab7a28732a1bd38741d951dc3975f53460d6e66b
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Wed Jul 3 11:19:48 2019 +0200
Fix a crash in Fancy plugin if one of the MIME parts has no Content-ID
diff --git a/src/plugins/fancy/fancy_viewer.c b/src/plugins/fancy/fancy_viewer.c
index c84eeae..bc2a817 100644
--- a/src/plugins/fancy/fancy_viewer.c
+++ b/src/plugins/fancy/fancy_viewer.c
@@ -430,7 +430,7 @@ static void resource_request_starting_cb(WebKitWebView *view,
if ((!g_ascii_strncasecmp(uri, "cid:", 4)) || (!g_ascii_strncasecmp(uri, "mid:", 4))) {
image = g_strconcat("<", uri + 4, ">", NULL);
while ((partinfo = procmime_mimeinfo_next(partinfo)) != NULL) {
- if (!g_ascii_strcasecmp(image, partinfo->id)) {
+ if (partinfo->id && !g_ascii_strcasecmp(image, partinfo->id)) {
filename = procmime_get_tmp_file_name(partinfo);
if (!filename) {
g_free(image);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list