12 lines
220 B
Diff
12 lines
220 B
Diff
|
--- gd_png.c
|
||
|
+++ gd_png.c
|
||
|
@@ -151,7 +151,7 @@
|
||
|
return NULL;
|
||
|
}
|
||
|
|
||
|
- if (!png_check_sig (sig, 8)) { /* bad signature */
|
||
|
+ if (png_sig_cmp (sig, 0, 8)) { /* bad signature */
|
||
|
return NULL; /* bad signature */
|
||
|
}
|
||
|
|