File ImageMagick-CVE-2016-8682.patch of Package ImageMagick.8212

Index: ImageMagick-6.8.9-8/coders/sct.c
===================================================================
--- ImageMagick-6.8.9-8.orig/coders/sct.c	2016-10-18 14:29:47.518173293 +0200
+++ ImageMagick-6.8.9-8/coders/sct.c	2016-10-18 14:30:11.874544562 +0200
@@ -207,6 +207,7 @@ static Image *ReadSCTImage(const ImageIn
   buffer[14]='\0';
   height=StringToDouble((char *) buffer,(char **) NULL);
   count=ReadBlob(image,14,buffer);
+  buffer[14]='\0';
   width=StringToDouble((char *) buffer,(char **) NULL);
   count=ReadBlob(image,12,buffer);
   buffer[12]='\0';