Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-12-SP1:GA
ImageMagick.18190
ImageMagick-CVE-2019-11505.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2019-11505.patch of Package ImageMagick.18190
Index: ImageMagick-6.8.8-1/coders/pdb.c =================================================================== --- ImageMagick-6.8.8-1.orig/coders/pdb.c 2019-04-29 16:27:07.359036988 +0200 +++ ImageMagick-6.8.8-1/coders/pdb.c 2019-04-29 16:28:14.451458485 +0200 @@ -828,7 +828,7 @@ static MagickBooleanType WritePDBImage(c pdb_image.width=(short) (16*(image->columns/16+1)); pdb_image.height=(short) image->rows; packets=((bits_per_pixel*image->columns+7)/8)*image->rows; - packet_size=(size_t) (image->depth > 8 ? 2: 1); + packet_size=(size_t) (bits_per_pixel > 8 ? 2: 1); runlength=(unsigned char *) AcquireQuantumMemory(4UL*packets, sizeof(*runlength)); buffer=(unsigned char *) AcquireQuantumMemory(257UL,sizeof(*buffer)); @@ -859,7 +859,7 @@ static MagickBooleanType WritePDBImage(c scanline=(unsigned char *) RelinquishMagickMemory(scanline); ThrowWriterException(ResourceLimitError,"MemoryAllocationFailed"); } - status=SetQuantumDepth(image,quantum_info,image->depth > 8 ? 16 : 8); + status=SetQuantumDepth(image,quantum_info,bits_per_pixel > 8 ? 16 : 8); bits=8/(int) bits_per_pixel-1; /* start at most significant bits */ literal=0; repeat=0;
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