+2010-05-14 [colin] 3.7.6cvs3
+
+ * src/plugins/pgpinline/pgpinline.c
+ Fix bug 2205, 'PGPInline: segfault on malformed mails'
+
2010-05-04 [iwkse] 3.7.6cvs2
* src/prefs_message.c
( cvs diff -u -r 1.1.2.23 -r 1.1.2.24 tools/claws.i18n.status.pl; ) > 3.7.5cvs55.patchset
( cvs diff -u -r 1.1.2.30 -r 1.1.2.31 src/prefs_message.c; cvs diff -u -r 1.103.2.128 -r 1.103.2.129 src/prefs_common.h; cvs diff -u -r 1.204.2.195 -r 1.204.2.196 src/prefs_common.c; cvs diff -u -r 1.96.2.223 -r 1.96.2.224 src/textview.c; ) > 3.7.6cvs1.patchset
( cvs diff -u -r 1.1.2.31 -r 1.1.2.32 src/prefs_message.c; ) > 3.7.6cvs2.patchset
+( cvs diff -u -r 1.1.2.44 -r 1.1.2.45 src/plugins/pgpinline/pgpinline.c; ) > 3.7.6cvs3.patchset
/* get content node from message */
msgcontent = (MimeInfo *) mimeinfo->node->children->data;
- if (msgcontent->type == MIMETYPE_MULTIPART)
+ if (msgcontent->type == MIMETYPE_MULTIPART) {
+ if (!msgcontent->node->children) {
+ debug_print("msgcontent->node->children NULL, bailing\n");
+ privacy_set_error(_("Malformed message"));
+ return FALSE;
+ }
msgcontent = (MimeInfo *) msgcontent->node->children->data;
-
+ }
/* get rid of quoted-printable or anything */
procmime_decode_content(msgcontent);
/* get content node from message */
msgcontent = (MimeInfo *) mimeinfo->node->children->data;
- if (msgcontent->type == MIMETYPE_MULTIPART)
+ if (msgcontent->type == MIMETYPE_MULTIPART) {
+ if (!msgcontent->node->children) {
+ debug_print("msgcontent->node->children NULL, bailing\n");
+ privacy_set_error(_("Malformed message"));
+ return FALSE;
+ }
msgcontent = (MimeInfo *) msgcontent->node->children->data;
-
+ }
/* get rid of quoted-printable or anything */
procmime_decode_content(msgcontent);