Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
GraphicsMagick.8039
GraphicsMagick-write-tiff-div-by-zero.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File GraphicsMagick-write-tiff-div-by-zero.patch of Package GraphicsMagick.8039
Index: GraphicsMagick-1.3.20/coders/tiff.c =================================================================== --- GraphicsMagick-1.3.20.orig/coders/tiff.c 2016-10-11 12:59:09.898149555 +0200 +++ GraphicsMagick-1.3.20/coders/tiff.c 2016-10-11 13:00:03.154988223 +0200 @@ -4128,7 +4128,9 @@ WriteTIFFImage(const ImageInfo *image_in uncompressed data. */ scanline_size=TIFFScanlineSize(tiff); - rows_per_strip=TIFFDefaultStripSize(tiff,0); + rows_per_strip=1; + if (TIFFScanlineSize(tiff) != 0) + rows_per_strip=TIFFDefaultStripSize(tiff,0); if (rows_per_strip < 1) rows_per_strip=1; /*
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