Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:acdc:as_python3_module
ImageMagick.17344
ImageMagick-CVE-2020-27560.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2020-27560.patch of Package ImageMagick.17344
diff --git a/MagickCore/layer.c b/MagickCore/layer.c index 4ac847a1c1..63bda6d1a7 100644 --- a/MagickCore/layer.c +++ b/MagickCore/layer.c @@ -1352,11 +1352,13 @@ static Image *OptimizeLayerFrames(const Image *image,const LayerMethod method, if ( disposals[i] == DelDispose ) { size_t time = 0; while ( disposals[i] == DelDispose ) { - time += curr->delay*1000/curr->ticks_per_second; + time +=(size_t) (curr->delay*1000* + PerceptibleReciprocal((double) curr->ticks_per_second)); curr=GetNextImageInList(curr); i++; } - time += curr->delay*1000/curr->ticks_per_second; + time += (size_t)(curr->delay*1000* + PerceptibleReciprocal((double) curr->ticks_per_second)); prev_image->ticks_per_second = 100L; prev_image->delay = time*prev_image->ticks_per_second/1000; }
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