mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-06-12 15:37:14 +02:00
This commit is contained in:
@@ -5280,6 +5280,7 @@ static size_t TracePath(PrimitiveInfo *primitive_info,const char *path)
|
||||
start.y=0.0;
|
||||
number_coordinates=0;
|
||||
z_count=0;
|
||||
(void) ResetMagickMemory(points,0,sizeof(*points));
|
||||
primitive_type=primitive_info->primitive;
|
||||
q=primitive_info;
|
||||
for (p=path; *p != '\0'; )
|
||||
|
||||
@@ -776,6 +776,7 @@ MagickExport MagickBooleanType ExpandFilenames(int *number_arguments,
|
||||
*path='\0';
|
||||
*filename='\0';
|
||||
*subimage='\0';
|
||||
number_files=0;
|
||||
vector[count++]=ConstantString(option);
|
||||
destroy=MagickTrue;
|
||||
parameters=ParseCommandOption(MagickCommandOptions,MagickFalse,option);
|
||||
|
||||
@@ -1788,6 +1788,7 @@ MagickPrivate void XColorBrowserWidget(Display *display,XWindows *windows,
|
||||
/*
|
||||
Respond to X events.
|
||||
*/
|
||||
XGetWidgetInfo((char *) NULL,&mode_info);
|
||||
XGetWidgetInfo((char *) NULL,&slider_info);
|
||||
XGetWidgetInfo((char *) NULL,&north_info);
|
||||
XGetWidgetInfo((char *) NULL,&south_info);
|
||||
|
||||
@@ -1555,7 +1555,7 @@ WandExport double *MagickGetSamplingFactors(MagickWand *wand,
|
||||
p++;
|
||||
i++;
|
||||
}
|
||||
sampling_factors=(double *) AcquireQuantumMemory((size_t) i,
|
||||
sampling_factors=(double *) AcquireQuantumMemory((size_t) i+1,
|
||||
sizeof(*sampling_factors));
|
||||
if (sampling_factors == (double *) NULL)
|
||||
ThrowWandFatalException(ResourceLimitFatalError,"MemoryAllocationFailed",
|
||||
|
||||
@@ -190,6 +190,8 @@ static MagickBooleanType DecodeImage(Image *image,unsigned char *luma,
|
||||
sum=0;
|
||||
bits=32;
|
||||
p=buffer+0x800;
|
||||
for (i=0; i < 3; i++)
|
||||
pcd_table[i]=(PCDTable *) NULL;
|
||||
for (i=0; i < (image->columns > 1536 ? 3 : 1); i++)
|
||||
{
|
||||
PCDGetBits(8);
|
||||
|
||||
Reference in New Issue
Block a user