diff options
Diffstat (limited to 'community/php52/libpng14.patch')
-rw-r--r-- | community/php52/libpng14.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/community/php52/libpng14.patch b/community/php52/libpng14.patch new file mode 100644 index 000000000..08bb4e1dd --- /dev/null +++ b/community/php52/libpng14.patch @@ -0,0 +1,11 @@ +--- php/php-src/trunk/ext/gd/libgd/gd_png.c 2009/04/01 16:05:17 278124 ++++ php/php-src/trunk/ext/gd/libgd/gd_png.c 2010/01/10 02:13:45 293341 +@@ -145,7 +145,7 @@ + return NULL; + } + +- if (!png_check_sig (sig, 8)) { /* bad signature */ ++ if (png_sig_cmp(sig, 0, 8) != 0) { /* bad signature */ + return NULL; + } + |