1 |
tgurr 08/12/04 21:42:11 |
2 |
|
3 |
Added: cups-1.3.9-CVE-2008-5286.patch |
4 |
Log: |
5 |
Revbump fixing security bug #249727 (CVE-2008-5286). Remove old. |
6 |
(Portage version: 2.2_rc16/cvs/Linux 2.6.27-gentoo-r4 x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 net-print/cups/files/cups-1.3.9-CVE-2008-5286.patch |
10 |
|
11 |
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 |
12 |
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 |
13 |
|
14 |
Index: cups-1.3.9-CVE-2008-5286.patch |
15 |
=================================================================== |
16 |
Index: filter/image-png.c |
17 |
=================================================================== |
18 |
--- filter/image-png.c (revision 8062) |
19 |
+++ filter/image-png.c (working copy) |
20 |
@@ -178,7 +178,7 @@ |
21 |
{ |
22 |
bufsize = img->xsize * img->ysize; |
23 |
|
24 |
- if ((bufsize / img->ysize) != img->xsize) |
25 |
+ if ((bufsize / img->xsize) != img->ysize) |
26 |
{ |
27 |
fprintf(stderr, "DEBUG: PNG image dimensions (%ux%u) too large!\n", |
28 |
(unsigned)width, (unsigned)height); |
29 |
@@ -190,7 +190,7 @@ |
30 |
{ |
31 |
bufsize = img->xsize * img->ysize * 3; |
32 |
|
33 |
- if ((bufsize / (img->ysize * 3)) != img->xsize) |
34 |
+ if ((bufsize / (img->xsize * 3)) != img->ysize) |
35 |
{ |
36 |
fprintf(stderr, "DEBUG: PNG image dimensions (%ux%u) too large!\n", |
37 |
(unsigned)width, (unsigned)height); |