summaryrefslogtreecommitdiff
blob: 98b6461267d9f5995b14c02aaad4af1ce589a24e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
http://bugs.gentoo.org/show_bug.cgi?id=305101
http://repos.archlinux.org/wsvn/packages/gd/trunk/libpng14.patch

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