linamh/dev-lang/php/files/php-5.2.12-libpng14.patch
2010-07-27 09:43:07 +00:00

12 lines
222 B
Diff

--- ext/gd/libgd/gd_png.c
+++ ext/gd/libgd/gd_png.c
@@ -139,7 +139,7 @@
return NULL;
}
- if (!png_check_sig (sig, 8)) { /* bad signature */
+ if (png_sig_cmp (sig, 0, 8)) { /* bad signature */
return NULL;
}