this is bug ?
Posted: 2008-08-04T17:35:53-07:00
Core occurred during the execution
This issue is raised from the function below it.
(image.c)
MagickExport ImageInfo *AcquireImageInfo(void)
{
ImageInfo
*image_info;
image_info=(ImageInfo *) AcquireMagickMemory(sizeof(*image_info));
if (image_info == (ImageInfo *) NULL)
ThrowFatalException(ResourceLimitFatalError,"MemoryAllocationFailed");
GetImageInfo(image_info);
return(image_info);
}
Under the above functions are being modified as disagree?
Memory allocation fails, it still function despite calls by GetImageInfo
Core occurs
==>
MagickExport ImageInfo *AcquireImageInfo(void)
{
ImageInfo
*image_info;
image_info=(ImageInfo *) AcquireMagickMemory(sizeof(*image_info));
if (image_info == (ImageInfo *) NULL){
ThrowFatalException(ResourceLimitFatalError,"MemoryAllocationFailed");
return(image_info);
};
GetImageInfo(image_info);
return(image_info);
}
This issue is raised from the function below it.
(image.c)
MagickExport ImageInfo *AcquireImageInfo(void)
{
ImageInfo
*image_info;
image_info=(ImageInfo *) AcquireMagickMemory(sizeof(*image_info));
if (image_info == (ImageInfo *) NULL)
ThrowFatalException(ResourceLimitFatalError,"MemoryAllocationFailed");
GetImageInfo(image_info);
return(image_info);
}
Under the above functions are being modified as disagree?
Memory allocation fails, it still function despite calls by GetImageInfo
Core occurs
==>
MagickExport ImageInfo *AcquireImageInfo(void)
{
ImageInfo
*image_info;
image_info=(ImageInfo *) AcquireMagickMemory(sizeof(*image_info));
if (image_info == (ImageInfo *) NULL){
ThrowFatalException(ResourceLimitFatalError,"MemoryAllocationFailed");
return(image_info);
};
GetImageInfo(image_info);
return(image_info);
}