summaryrefslogtreecommitdiff
path: root/mail/gmime
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2010-09-08 11:56:24 +0000
committerdrochner <drochner@pkgsrc.org>2010-09-08 11:56:24 +0000
commit9bf0b2407cacd11059a29477ee61efbc11d7bd7d (patch)
treec9a5ec47061f5ef0c69ccccb682dd05b446e6f3d /mail/gmime
parentc77fa7d73f3ea10510cc3b6271b11648e2d879d2 (diff)
downloadpkgsrc-9bf0b2407cacd11059a29477ee61efbc11d7bd7d.tar.gz
oops - restore old patch too
Diffstat (limited to 'mail/gmime')
-rw-r--r--mail/gmime/patches/patch-aa16
1 files changed, 16 insertions, 0 deletions
diff --git a/mail/gmime/patches/patch-aa b/mail/gmime/patches/patch-aa
new file mode 100644
index 00000000000..4610362d1da
--- /dev/null
+++ b/mail/gmime/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.8 2010/09/08 11:56:24 drochner Exp $
+
+Fix for http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-0409
+from Fedora.
+
+--- gmime/gmime-utils.h.orig 2009-08-12 22:42:55.000000000 +0000
++++ gmime/gmime-utils.h
+@@ -106,7 +106,7 @@ struct _GMimeReferences {
+ * Returns the number of output bytes needed to uuencode an input
+ * buffer of size @x.
+ **/
+-#define GMIME_UUENCODE_LEN(x) ((size_t) (((((x) + 2) / 45) * 62) + 62))
++#define GMIME_UUENCODE_LEN(x) ((size_t) (((((x) + 2) / 45) * 62) + 64))
+
+
+ /**