public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-print/cups/files: cups-1.3.9-CVE-2008-5286.patch
@ 2008-12-04 21:42 Timo Gurr (tgurr)
  0 siblings, 0 replies; only message in thread
From: Timo Gurr (tgurr) @ 2008-12-04 21:42 UTC (permalink / raw
  To: gentoo-commits

tgurr       08/12/04 21:42:11

  Added:                cups-1.3.9-CVE-2008-5286.patch
  Log:
  Revbump fixing security bug #249727 (CVE-2008-5286). Remove old.
  (Portage version: 2.2_rc16/cvs/Linux 2.6.27-gentoo-r4 x86_64)

Revision  Changes    Path
1.1                  net-print/cups/files/cups-1.3.9-CVE-2008-5286.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/cups/files/cups-1.3.9-CVE-2008-5286.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/cups/files/cups-1.3.9-CVE-2008-5286.patch?rev=1.1&content-type=text/plain

Index: cups-1.3.9-CVE-2008-5286.patch
===================================================================
Index: filter/image-png.c
===================================================================
--- filter/image-png.c	(revision 8062)
+++ filter/image-png.c	(working copy)
@@ -178,7 +178,7 @@
     {
       bufsize = img->xsize * img->ysize;
 
-      if ((bufsize / img->ysize) != img->xsize)
+      if ((bufsize / img->xsize) != img->ysize)
       {
 	fprintf(stderr, "DEBUG: PNG image dimensions (%ux%u) too large!\n",
 		(unsigned)width, (unsigned)height);
@@ -190,7 +190,7 @@
     {
       bufsize = img->xsize * img->ysize * 3;
 
-      if ((bufsize / (img->ysize * 3)) != img->xsize)
+      if ((bufsize / (img->xsize * 3)) != img->ysize)
       {
 	fprintf(stderr, "DEBUG: PNG image dimensions (%ux%u) too large!\n",
 		(unsigned)width, (unsigned)height);






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

only message in thread, other threads:[~2008-12-04 21:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-04 21:42 [gentoo-commits] gentoo-x86 commit in net-print/cups/files: cups-1.3.9-CVE-2008-5286.patch Timo Gurr (tgurr)

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