FreeBSD Bugzilla – Attachment 104964 Details for
Bug 145247
[PATCH] graphics/php5-gd: png v14 fix
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
.patch
.patch (text/plain), 1.02 KB, created by
Martin Matuska
on 2010-03-31 19:00:18 UTC
(
hide
)
Description:
.patch
Filename:
MIME Type:
Creator:
Martin Matuska
Created:
2010-03-31 19:00:18 UTC
Size:
1.02 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/pcvs/ports/graphics/php5-gd/Makefile,v >retrieving revision 1.5 >diff -u -r1.5 Makefile >--- Makefile 29 Dec 2009 14:39:10 -0000 1.5 >+++ Makefile 31 Mar 2010 17:50:38 -0000 >@@ -5,6 +5,8 @@ > # $FreeBSD: ports/graphics/php5-gd/Makefile,v 1.5 2009/12/29 14:39:10 ale Exp $ > # > >+PORTREVISION= 1 >+ > CATEGORIES= graphics > > MASTERDIR= ${.CURDIR}/../../lang/php5 >Index: files/patch-libgd-gd_png.c >=================================================================== >RCS file: files/patch-libgd-gd_png.c >diff -N files/patch-libgd-gd_png.c >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/patch-libgd-gd_png.c 31 Mar 2010 17:50:38 -0000 >@@ -0,0 +1,11 @@ >+--- libgd/gd_png.c.orig 2009-03-14 17:48:42.000000000 +0000 >++++ libgd/gd_png.c 2010-03-31 17:42:38.379221901 +0000 >+@@ -139,7 +139,7 @@ >+ return NULL; >+ } >+ >+- if (!png_check_sig (sig, 8)) { /* bad signature */ >++ if (!(png_sig_cmp(sig, 0, 8) == 0)) { /* bad signature */ >+ return NULL; >+ } >+
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 145247
: 104964