head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.8 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.6 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.4 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.2 pkgsrc-2011Q2-base:1.2 pkgsrc-2010Q3:1.1.0.4 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.2 pkgsrc-2010Q2-base:1.1; locks; strict; comment @# @; 1.2 date 2010.12.02.11.14.22; author drochner; state dead; branches; next 1.1; 1.1 date 2010.05.17.17.58.13; author drochner; state Exp; branches; next ; desc @@ 1.2 log @remove obsolete patches noticed by wiz @ text @$NetBSD: patch-bc,v 1.1 2010/05/17 17:58:13 drochner Exp $ --- src/plugins/pgpinline/pgpinline.c.orig 2009-02-23 16:55:51.000000000 +0000 +++ src/plugins/pgpinline/pgpinline.c @@@@ -583,9 +583,14 @@@@ static gboolean pgpinline_sign(MimeInfo /* 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); @@@@ -768,9 +773,14 @@@@ static gboolean pgpinline_encrypt(MimeIn /* 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); @ 1.1 log @update claws-mail to 3.7.6 changes: -Encrypt saved LDAP passwords -UI improvements -bugfixes -translation updates -builds with libetpan-1.0, needs gtk2-2.10 @ text @d1 1 a1 1 $NetBSD$ @