2c417cf616
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2282 6952d904-891a-0410-993b-d76249ca496b
12 lines
222 B
Diff
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;
|
|
}
|
|
|