Commit b7da5e257 for imagemagick.org

commit b7da5e25769f2786b8461ecaddf2a87b0acffc39
Author: Javid Khan <dxbjavid@gmail.com>
Date:   Sat Jun 20 22:39:05 2026 +0530

    bound 8bim resolution resource read in GetProfilesFromResourceBlock (#8798)

diff --git a/MagickCore/profile.c b/MagickCore/profile.c
index e19ea27e8..fc046994e 100644
--- a/MagickCore/profile.c
+++ b/MagickCore/profile.c
@@ -1844,7 +1844,7 @@ static void GetProfilesFromResourceBlock(Image *image,
         /*
           Resolution.
         */
-        if (count < 10)
+        if (count < 16)
           break;
         p=ReadResourceLong(p,&resolution);
         image->resolution.x=((double) resolution)/65536.0;