]> granicus.if.org Git - imagemagick/commitdiff
https://github.com/ImageMagick/ImageMagick6/commit/24117e05d564d4205d4c9a358dce5bf46b...
authorCristy <urban-warrior@imagemagick.org>
Thu, 10 May 2018 23:16:21 +0000 (19:16 -0400)
committerCristy <urban-warrior@imagemagick.org>
Thu, 10 May 2018 23:16:35 +0000 (19:16 -0400)
MagickCore/xml-tree.c

index f16b14c3311cf0160da36de15773c90f0bb5fc59..c554e284d35b48814aa1da694f8a5b222b396df3 100644 (file)
@@ -1508,7 +1508,7 @@ static char *ParseEntities(char *xml,char **entities,int state)
                     entity=strchr(xml,';');
                   }
                 if (entity != (char *) NULL)
-                  (void) memcpy(xml+length,entity+1,strlen(entity));
+                  (void) memmove(xml+length,entity+1,strlen(entity));
                 (void) strncpy(xml,entities[i],length);
               }
         }