blob: da5b4fb0015d4df53f98824432f04110ae492e98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -Nur gd-2.0.35.orig/gd_png.c gd-2.0.35/gd_png.c
--- gd-2.0.35.orig/gd_png.c 2007-11-27 10:30:34.000000000 +0200
+++ gd-2.0.35/gd_png.c 2010-01-17 17:14:11.000000000 +0200
@@ -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 */
}
|