From 732f1f84da6e523cd990ef71a229f7f16f4fa934 Mon Sep 17 00:00:00 2001 From: cristy Date: Sun, 21 Jun 2015 20:05:04 +0000 Subject: [PATCH] --- MagickCore/xml-tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/xml-tree.c b/MagickCore/xml-tree.c index 1a7e57449..1b7c66402 100644 --- a/MagickCore/xml-tree.c +++ b/MagickCore/xml-tree.c @@ -1668,7 +1668,7 @@ static void ParseProcessingInstructions(XMLTreeRoot *root,char *xml, ThrowFatalException(ResourceLimitFatalError,"MemoryAllocationFailed"); root->processing_instructions[i][j+2]=(char *) ResizeQuantumMemory( root->processing_instructions[i][j+1],(size_t) (j+1), - sizeof(*root->processing_instructions)); + sizeof(**root->processing_instructions)); if (root->processing_instructions[i][j+2] == (char *) NULL) ThrowFatalException(ResourceLimitFatalError,"MemoryAllocationFailed"); (void) CopyMagickString(root->processing_instructions[i][j+2]+j-1, -- 2.40.0