Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1
xli
xli-png_check_sig.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xli-png_check_sig.patch of Package xli
Index: png.c =================================================================== --- png.c.orig +++ png.c @@ -11,7 +11,7 @@ #define TITLE_KEYWORD "Title" -/* check to see if a file is a png file using png_check_sig() */ +/* check to see if a file is a png file using png_sig_cmp() */ static int check_png(char *file_name) { ZFILE *zfp; @@ -27,7 +27,7 @@ static int check_png(char *file_name) if (ret != 8) return 0; - ret = png_check_sig(buf, 8); + ret = !png_sig_cmp(buf, 0, 8); return (ret); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor