forked from pool/graphviz
e3bd3a15ef
OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=4ee06cfea2811d7c7292207f31bf942f
12 lines
234 B
Diff
12 lines
234 B
Diff
--- lib/gd/gd_png.c
|
|
+++ lib/gd/gd_png.c
|
|
@@ -150,7 +150,7 @@
|
|
return NULL;
|
|
}
|
|
|
|
- if (!png_check_sig (sig, 8)) { /* bad signature */
|
|
+ if (png_sig_cmp (sig, 0, 8)) { /* bad signature */
|
|
return NULL; /* bad signature */
|
|
}
|
|
|