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