public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in mail-client/claws-mail/files: claws-mail-3.8.1_procmime-vuln.patch
@ 2012-10-11 19:05 Christian Faulhammer (fauli)
  0 siblings, 0 replies; only message in thread
From: Christian Faulhammer (fauli) @ 2012-10-11 19:05 UTC (permalink / raw
  To: gentoo-commits

fauli       12/10/11 19:05:34

  Added:                claws-mail-3.8.1_procmime-vuln.patch
  Log:
  version bump for security bug 437814 (CVE 2012-4507), null pointer exception
  
  (Portage version: 2.1.11.9/cvs/Linux i686)

Revision  Changes    Path
1.1                  mail-client/claws-mail/files/claws-mail-3.8.1_procmime-vuln.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/files/claws-mail-3.8.1_procmime-vuln.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/files/claws-mail-3.8.1_procmime-vuln.patch?rev=1.1&content-type=text/plain

Index: claws-mail-3.8.1_procmime-vuln.patch
===================================================================
A specific mail in the user mbox file cause claws-mail to crash reliabily. 

claws-mail-3.8.1

truncated backtrace:
:Thread no. 1 (10 frames)
: #0 strchr at ../sysdeps/x86_64/strchr.S:33
: #1 parse_parameters at procmime.c:1756
: #2 procmime_parse_content_disposition at procmime.c:1842
: #3 procmime_parse_mimepart at procmime.c:1967
: #4 procmime_parse_multipart at procmime.c:1566
: #5 procmime_parse_mimepart at procmime.c:1994
: #6 procmime_parse_message_rfc822 at procmime.c:1393
: #7 procmime_scan_file_with_offset at procmime.c:2058
: #8 procmime_scan_file_full at procmime.c:2071
: #9 procmime_scan_file at procmime.c:2078

CVE-2012-4507

Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=437814
CVE request: http://permalink.gmane.org/gmane.comp.security.oss.general/8561
redhat bug: https://bugzilla.redhat.com/show_bug.cgi?id=862578
claws-mail bug: http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2743

--- claws-mail-3.8.1-orig/src/procmime.c	2012-06-27 11:05:22.000000000 +0200
+++ claws-mail-3.8.1/src/procmime.c	2012-10-03 18:00:09.438577924 +0200
@@ -1753,6 +1753,8 @@
 			continue;
 
 		charset = value;
+        if (charset == NULL)
+            continue;
 		lang = strchr(charset, '\'');
 		if (lang == NULL)
 			continue;





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-10-11 19:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-11 19:05 [gentoo-commits] gentoo-x86 commit in mail-client/claws-mail/files: claws-mail-3.8.1_procmime-vuln.patch Christian Faulhammer (fauli)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox