Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
ImageMagick.29977
ImageMagick-CVE-2016-7539.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2016-7539.patch of Package ImageMagick.29977
--- a/magick/cache.c +++ b/magick/cache.c @@ -3371,19 +3371,6 @@ static MagickBooleanType MaskPixelCacheNexus(Image *image,NexusInfo *nexus_info, % */ -static inline void AllocatePixelCachePixels(CacheInfo *cache_info) -{ - cache_info->mapped=MagickFalse; - cache_info->pixels=(PixelPacket *) MagickAssumeAligned( - AcquireAlignedMemory(1,(size_t) cache_info->length)); - if (cache_info->pixels == (PixelPacket *) NULL) - { - cache_info->mapped=MagickTrue; - cache_info->pixels=(PixelPacket *) MapBlob(-1,IOMode,0,(size_t) - cache_info->length); - } -} - #if defined(__cplusplus) || defined(c_plusplus) extern "C" { #endif @@ -3603,7 +3590,9 @@ static MagickBooleanType OpenPixelCache(Image *image,const MapMode mode, if (((cache_info->type == UndefinedCache) && (status != MagickFalse)) || (cache_info->type == MemoryCache)) { - AllocatePixelCachePixels(cache_info); + cache_info->mapped=MagickFalse; + cache_info->pixels=(PixelPacket *) MagickAssumeAligned( + AcquireAlignedMemory(1,(size_t) cache_info->length)); if (cache_info->pixels == (PixelPacket *) NULL) cache_info->pixels=source_info.pixels; else
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