Commit e5dcf54b8 for imagemagick.org
commit e5dcf54b8a0debc75fd8671f2b2604e3e148c1fc
Author: Cristy <urban-warrior@imagemagick.org>
Date: Mon Feb 9 10:12:31 2026 -0500
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-x2j6-6h5m-gjg4
diff --git a/coders/pcd.c b/coders/pcd.c
index 8d46eabdd..6714a4f88 100644
--- a/coders/pcd.c
+++ b/coders/pcd.c
@@ -260,7 +260,7 @@ static MagickBooleanType DecodeImage(Image *image,unsigned char *luma,
*/
plane=0;
row=0;
- sentinel=luma+3*(image->columns+1)*image->rows;
+ sentinel=luma+30*(image->columns+1)*image->rows;
for (q=luma; EOFBlob(image) == MagickFalse; )
{
if (IsSync(sum) != 0)