diff options
-rw-r--r-- | databases/clip/files/patch-cliplibs_clip-gd_gd_gd_png.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/clip/files/patch-cliplibs_clip-gd_gd_gd_png.c b/databases/clip/files/patch-cliplibs_clip-gd_gd_gd_png.c new file mode 100644 index 000000000000..35dc38f557ae --- /dev/null +++ b/databases/clip/files/patch-cliplibs_clip-gd_gd_gd_png.c @@ -0,0 +1,11 @@ +--- cliplibs/clip-gd/gd/gd_png.c.orig 2006-06-22 22:12:04.000000000 +0200 ++++ cliplibs/clip-gd/gd/gd_png.c 2010-03-30 07:27:48.000000000 +0200 +@@ -122,7 +122,7 @@ + /* first do a quick check that the file really is a PNG image; could + * have used slightly more general png_sig_cmp() function instead */ + gdGetBuf(sig, 8, infile); +- if (!png_check_sig(sig, 8)) ++ if (png_sig_cmp(sig, 0, 8)) + return NULL; /* bad signature */ + + #ifndef PNG_SETJMP_NOT_SUPPORTED |