Commit cbc4273c0 for imagemagick.org

commit cbc4273c00e9b8eaf817401086e6c5e3fe38ba9a
Author: Cristy <urban-warrior@imagemagick.org>
Date:   Sun Feb 1 15:02:58 2026 -0500

    https://github.com/ImageMagick/ImageMagick/issues/8552

diff --git a/coders/cin.c b/coders/cin.c
index f0dba9ee6..1ad52afbe 100644
--- a/coders/cin.c
+++ b/coders/cin.c
@@ -548,7 +548,7 @@ static Image *ReadCINImage(const ImageInfo *image_info,ExceptionInfo *exception)
   cin.image.green_primary_chromaticity[0]=ReadBlobFloat(image);
   offset+=4;
   if (IsFloatDefined(cin.image.green_primary_chromaticity[0]) != MagickFalse)
-    image->chromaticity.red_primary.x=cin.image.green_primary_chromaticity[0];
+    image->chromaticity.green_primary.x=cin.image.green_primary_chromaticity[0];
   cin.image.green_primary_chromaticity[1]=ReadBlobFloat(image);
   offset+=4;
   if (IsFloatDefined(cin.image.green_primary_chromaticity[1]) != MagickFalse)
diff --git a/coders/wpg.c b/coders/wpg.c
index 1f372c3df..6b6a96249 100644
--- a/coders/wpg.c
+++ b/coders/wpg.c
@@ -1172,8 +1172,7 @@ static Image *ReadWPGImage(const ImageInfo *image_info,ExceptionInfo *exception)
             case 0x0E:  /*Color palette */
               WPG_Palette.StartIndex=ReadBlobLSBShort(image);
               WPG_Palette.NumOfEntries=ReadBlobLSBShort(image);
-              if ((WPG_Palette.NumOfEntries-WPG_Palette.StartIndex) >
-                  (Rec2.RecordLength-2-2)/3)
+              if ((WPG_Palette.NumOfEntries-WPG_Palette.StartIndex) > (Rec.RecordLength-2-2)/3)
                 ThrowReaderException(CorruptImageError,"InvalidColormapIndex");
               if (WPG_Palette.StartIndex > WPG_Palette.NumOfEntries)
                 ThrowReaderException(CorruptImageError,"InvalidColormapIndex");
diff --git a/coders/ycbcr.c b/coders/ycbcr.c
index 7f5cee14d..7feacd238 100644
--- a/coders/ycbcr.c
+++ b/coders/ycbcr.c
@@ -890,7 +890,7 @@ static Image *ReadYCBCRImage(const ImageInfo *image_info,
               if (q == (Quantum *) NULL)
                 break;
               length=ImportQuantumPixels(canvas_image,(CacheView *) NULL,
-                quantum_info,BlueQuantum,(unsigned char *) stream,exception);
+                quantum_info,AlphaQuantum,(unsigned char *) stream,exception);
               if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse)
                 break;
               if (((y-image->extract_info.y) >= 0) &&