Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP2
djvulibre.30376
djvulibre-invalid-tiff.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File djvulibre-invalid-tiff.patch of Package djvulibre.30376
diff --git a/tools/cjb2.cpp b/tools/cjb2.cpp index 3da3ea8..701238d 100644 --- a/tools/cjb2.cpp +++ b/tools/cjb2.cpp @@ -744,6 +744,8 @@ read_tiff(CCImage &rimg, ByteStream *bs, cjb2opts &opts) readproc, writeproc, seekproc, closeproc, sizeproc, mapproc, unmapproc ); + if (! tiff) + G_THROW("Tiff image is corrupted (cannot open)"); // bitonal uint16 bps = 0, spp = 0; TIFFGetFieldDefaulted(tiff, TIFFTAG_BITSPERSAMPLE, &bps);
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