gd/gd-png_check_sig.patch
OBS User autobuild 7882a7f3db Accepting request 36904 from devel:libraries:c_c++
Copy from devel:libraries:c_c++/gd based on submit request 36904 from user oertel

OBS-URL: https://build.opensuse.org/request/show/36904
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gd?expand=0&rev=13
2010-04-04 18:06:20 +00:00

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 */
}