public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-libs/gmime/files: gmime-2.2.26-uuencode-buffer-overflow.patch
@ 2010-03-26 16:02 Pacho Ramos (pacho)
  0 siblings, 0 replies; only message in thread
From: Pacho Ramos (pacho) @ 2010-03-26 16:02 UTC (permalink / raw
  To: gentoo-commits

pacho       10/03/26 16:02:25

  Added:                gmime-2.2.26-uuencode-buffer-overflow.patch
  Log:
  Version bump and fix bug 308051
  (Portage version: 2.1.7.17/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-libs/gmime/files/gmime-2.2.26-uuencode-buffer-overflow.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/gmime/files/gmime-2.2.26-uuencode-buffer-overflow.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/gmime/files/gmime-2.2.26-uuencode-buffer-overflow.patch?rev=1.1&content-type=text/plain

Index: gmime-2.2.26-uuencode-buffer-overflow.patch
===================================================================
diff -Naur gmime-2.2.23-pristine/gmime/gmime-utils.h gmime-2.2.23/gmime/gmime-utils.h
--- gmime-2.2.23-pristine/gmime/gmime-utils.h	2008-06-12 06:29:28.000000000 -0600
+++ gmime-2.2.23/gmime/gmime-utils.h	2010-02-03 19:01:18.145483975 -0700
@@ -106,7 +106,7 @@
  * 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))
 
 
 /**






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

only message in thread, other threads:[~2010-03-26 16:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-26 16:02 [gentoo-commits] gentoo-x86 commit in dev-libs/gmime/files: gmime-2.2.26-uuencode-buffer-overflow.patch Pacho Ramos (pacho)

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