pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/claws-mail add patch from upstream to fix crash (...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/704d5f54c8e7
branches:  trunk
changeset: 609781:704d5f54c8e7
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed Oct 10 09:48:45 2012 +0000

description:
add patch from upstream to fix crash (NULL dereference) by strange
email contents (CVE-2012-4507)
bump PKGREV

diffstat:

 mail/claws-mail/Makefile         |   4 ++--
 mail/claws-mail/distinfo         |   3 ++-
 mail/claws-mail/patches/patch-ca |  15 +++++++++++++++
 3 files changed, 19 insertions(+), 3 deletions(-)

diffs (51 lines):

diff -r 7f7a5a4af992 -r 704d5f54c8e7 mail/claws-mail/Makefile
--- a/mail/claws-mail/Makefile  Wed Oct 10 09:31:39 2012 +0000
+++ b/mail/claws-mail/Makefile  Wed Oct 10 09:48:45 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.50 2012/10/08 23:01:57 adam Exp $
+# $NetBSD: Makefile,v 1.51 2012/10/10 09:48:45 drochner Exp $
 
 INSTALLATION_DIRS+=    ${EGDIR}
 INSTALLATION_DIRS+=    share/claws-mail
@@ -6,7 +6,7 @@
 .include "Makefile.common"
 
 PKGNAME=       claws-mail-${CLAWS_VERSION}
-PKGREVISION=   5
+PKGREVISION=   6
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       X based e-mail and netnews client
diff -r 7f7a5a4af992 -r 704d5f54c8e7 mail/claws-mail/distinfo
--- a/mail/claws-mail/distinfo  Wed Oct 10 09:31:39 2012 +0000
+++ b/mail/claws-mail/distinfo  Wed Oct 10 09:48:45 2012 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2012/07/02 19:07:50 drochner Exp $
+$NetBSD: distinfo,v 1.22 2012/10/10 09:48:45 drochner Exp $
 
 SHA1 (claws-mail-3.8.1.tar.bz2) = c519d07121bfb3095c7a3d47e53b6726bf397ed8
 RMD160 (claws-mail-3.8.1.tar.bz2) = e50ddd80589e7edb9f1c172a83e7f41dd8dec372
@@ -8,3 +8,4 @@
 SHA1 (patch-af) = 2655fac7e0e7bfb2d50291537eab9481dbc83691
 SHA1 (patch-ag) = c5c3d16343437aedb9c899bec151338aea9fbbfb
 SHA1 (patch-bb) = 2d432d7c1c3869b76965adea77f05127796a27f5
+SHA1 (patch-ca) = 305882268b80cdcf8d827828ad67f191ef0c1729
diff -r 7f7a5a4af992 -r 704d5f54c8e7 mail/claws-mail/patches/patch-ca
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/claws-mail/patches/patch-ca  Wed Oct 10 09:48:45 2012 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ca,v 1.1 2012/10/10 09:48:45 drochner Exp $
+
+see http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2743
+
+--- src/procmime.c.orig        2012-06-27 09:05:22.000000000 +0000
++++ src/procmime.c
+@@ -1753,6 +1753,8 @@ static void parse_parameters(const gchar
+                       continue;
+ 
+               charset = value;
++              if (charset == NULL)
++                      continue;
+               lang = strchr(charset, '\'');
+               if (lang == NULL)
+                       continue;



Home | Main Index | Thread Index | Old Index