return;
if (ComparePDFBuffer(BeginXMPPacket,buffer,strlen(BeginXMPPacket)) == MagickFalse)
return;
- length=MagickPathExtent;
+ length=8192;
pdf_info->profile=AcquireStringInfo(length);
found_end=MagickFalse;
p=(char *) GetStringInfoDatum(pdf_info->profile);
{
if (count == (ssize_t) length)
{
- length+=MagickPathExtent;
+ length+=length;
SetStringInfoLength(pdf_info->profile,length);
p=(char *) GetStringInfoDatum(pdf_info->profile)+count;
}