From 30b2c24efd59f0d3f3903a4df00b72ab899cab42 Mon Sep 17 00:00:00 2001 From: cristy Date: Sat, 27 Jun 2015 15:24:03 +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 1b7c66402..59ad60f31 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