FreeBSD Bugzilla – Attachment 104814 Details for
Bug 145060
[PATCH] graphics/php4-gd: [SUMMARIZE CHANGES]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
php4-gd-4.4.9_1.patch
php4-gd-4.4.9_1.patch (text/plain), 1.14 KB, created by
michael
on 2010-03-26 13:50:01 UTC
(
hide
)
Description:
php4-gd-4.4.9_1.patch
Filename:
MIME Type:
Creator:
michael
Created:
2010-03-26 13:50:01 UTC
Size:
1.14 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/graphics/php4-gd/Makefile /usr/ports/graphics/php4-gd.patched/Makefile >--- /usr/ports/graphics/php4-gd/Makefile 2004-07-19 09:21:35.000000000 +0200 >+++ /usr/ports/graphics/php4-gd.patched/Makefile 2010-03-26 14:38:00.000000000 +0100 >@@ -5,6 +5,7 @@ > # $FreeBSD: ports/graphics/php4-gd/Makefile,v 1.1 2004/07/19 07:21:35 ale Exp $ > # > >+PORTREVISION= 1 > CATEGORIES= graphics > > MASTERDIR= ${.CURDIR}/../../lang/php4 >diff -ruN --exclude=CVS /usr/ports/graphics/php4-gd/files/patch-gd_gd.c /usr/ports/graphics/php4-gd.patched/files/patch-gd_gd.c >--- /usr/ports/graphics/php4-gd/files/patch-gd_gd.c 1970-01-01 01:00:00.000000000 +0100 >+++ /usr/ports/graphics/php4-gd.patched/files/patch-gd_gd.c 2010-03-26 14:35:53.000000000 +0100 >@@ -0,0 +1,12 @@ >+--- libgd/gd_gd.c.orig 2010-03-26 14:26:22.000000000 +0100 >++++ libgd/gd_gd.c 2010-03-26 14:28:03.000000000 +0100 >+@@ -40,6 +40,9 @@ >+ if (!gdGetWord(&im->colorsTotal, in)) { >+ goto fail1; >+ } >++ if (im->colorsTotal > gdMaxColors) { >++ goto fail1; >++ } >+ } >+ /* Int to accommodate truecolor single-color transparency */ >+ if (!gdGetInt(&im->transparent, in)) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 145060
: 104814