]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Fri, 5 Oct 2012 16:02:03 +0000 (16:02 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Fri, 5 Oct 2012 16:02:03 +0000 (16:02 +0000)
coders/mpc.c

index 4ad636d45d9a7e3043a839d771e184224a4f3544..dff4cc1254851da81091c2b4cd73f78ae639225c 100644 (file)
@@ -325,7 +325,7 @@ static Image *ReadMPCImage(const ImageInfo *image_info,ExceptionInfo *exception)
               }
             *p='\0';
             if (*options == '{')
-              (void) strcpy(options,options+1);
+              (void) CopyMagickString(options,options+1,strlen(options));
             /*
               Assign a value to the specified keyword.
             */