Commit 6a02ff096 for imagemagick.org

commit 6a02ff0962f829d36866823464f0980216e35e52
Author: Daiki Shibata <121758973+d-shibata7069@users.noreply.github.com>
Date:   Fri Oct 23 20:43:33 2026 +0900

    Reject incomplete MTV frame headers (#9055)

    Co-authored-by: Cristy <12486802+urban-warrior@users.noreply.github.com>

diff --git a/coders/mtv.c b/coders/mtv.c
index 11e8e0402..cc5776362 100644
--- a/coders/mtv.c
+++ b/coders/mtv.c
@@ -217,6 +217,8 @@ static Image *ReadMTVImage(const ImageInfo *image_info,ExceptionInfo *exception)
     if (ReadBlobString(image,buffer) == (char *) NULL)
       break;
     count=(ssize_t) MagickSscanf(buffer,"%lu %lu\n",&columns,&rows);
+    if (count == 1)
+      ThrowReaderException(CorruptImageError,"ImproperImageHeader");
     if (count > 0)
       {
         /*