Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:Update
ImageMagick.29976
ImageMagick-CVE-2019-9956.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2019-9956.patch of Package ImageMagick.29976
diff --git a/coders/ps.c b/coders/ps.c index 4723f2b937..e0288b0990 100644 --- a/coders/ps.c +++ b/coders/ps.c @@ -2230,8 +2230,13 @@ RestoreMSCWarning p+=GetPixelChannels(image); } q=PopHexPixel(hex_digits,(size_t) index,q); - q=PopHexPixel(hex_digits,(size_t) - MagickMin(length,0xff),q); + q=PopHexPixel(hex_digits,(size_t) MagickMin(length,0xff),q); + if ((q-pixels+6) >= 80) + { + *q++='\n'; + (void) WriteBlob(image,q-pixels,pixels); + q=pixels; + } if (image->previous == (Image *) NULL) { status=SetImageProgress(image,SaveImageTag,
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