Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
ImageMagick.29424
ImageMagick-CVE-2019-12979.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2019-12979.patch of Package ImageMagick.29424
diff --git a/magick/image.c b/magick/image.c index a295bc2a5..721925aef 100644 --- a/magick/image.c +++ b/magick/image.c @@ -252,10 +252,11 @@ MagickExport Image *AcquireImage(const ImageInfo *image_info) geometry_info; flags=ParseGeometry(image_info->density,&geometry_info); - image->x_resolution=geometry_info.rho; - image->y_resolution=geometry_info.sigma; - if ((flags & SigmaValue) == 0) - image->y_resolution=image->x_resolution; + if ((flags & RhoValue) != 0) + image->x_resolution=geometry_info.rho; + image->y_resolution=image->x_resolution; + if ((flags & SigmaValue) != 0) + image->y_resolution=geometry_info.sigma; } if (image_info->page != (char *) NULL) {
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