From: Cristy Date: Fri, 9 Aug 2019 11:49:39 +0000 (-0400) Subject: https://github.com/ImageMagick/ImageMagick/issues/1664https://github.com/ImageMagick... X-Git-Tag: 7.0.8-60~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b084867dd2016cfdcf5eab3f368c4dfe96fe92a;p=imagemagick https://github.com/ImageMagick/ImageMagick/issues/1664https://github.com/ImageMagick/ImageMagick/issues/1664 --- diff --git a/coders/html.c b/coders/html.c index fe97a4333..1b9abb38d 100644 --- a/coders/html.c +++ b/coders/html.c @@ -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);