]> granicus.if.org Git - imagemagick/commitdiff
https://github.com/ImageMagick/ImageMagick/issues/1664https://github.com/ImageMagick...
authorCristy <urban-warrior@imagemagick.org>
Fri, 9 Aug 2019 11:49:39 +0000 (07:49 -0400)
committerCristy <urban-warrior@imagemagick.org>
Fri, 9 Aug 2019 11:50:03 +0000 (07:50 -0400)
coders/html.c

index fe97a43333664362d12aaecce43896771127ccad..1b9abb38d7c65aa82e8c5bc57a9e7458cdcc2196 100644 (file)
@@ -94,7 +94,7 @@ static MagickBooleanType
 */
 static MagickBooleanType IsHTML(const unsigned char *magick,const size_t length)
 {
-  if (length < 5)
+  if (length < 6)
     return(MagickFalse);
   if (LocaleNCompare((char *) magick+1,"html",5) == 0)
     return(MagickTrue);