mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-10-01 04:17:14 +00:00
Reference: bac413a260
Signed-off-by: Nitin Wankhade <nitin.wankhade333@gmail.com>
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
22 lines
884 B
Diff
22 lines
884 B
Diff
From bac413a26073923d3ffb258adaab07fb3fe8fdc9 Mon Sep 17 00:00:00 2001
|
|
From: Dirk Lemstra <dirk@lemstra.org>
|
|
Date: Sat, 8 Feb 2025 23:31:39 +0100
|
|
|
|
Subject: [PATCH] imagemagick: Fix CVE-2025-43965
|
|
CVE: CVE-2025-43965
|
|
Upstream-Status: Backport [https://github.com/ImageMagick/ImageMagick/commit/bac413a26073923d3ffb258adaab07fb3fe8fdc9]
|
|
Signed-off-by: Nitin Wankhade <nitin.wankhade333@gmail.com>
|
|
===
|
|
diff --git a/coders/miff.c b/coders/miff.c
|
|
index 21b91d0..91bd36a 100644
|
|
--- a/coders/miff.c
|
|
+++ b/coders/miff.c
|
|
@@ -1307,6 +1307,7 @@ static Image *ReadMIFFImage(const ImageInfo *image_info,
|
|
if (quantum_format != UndefinedQuantumFormat)
|
|
{
|
|
status=SetQuantumFormat(image,quantum_info,quantum_format);
|
|
+ image->depth=quantum_info->depth;
|
|
if (status == MagickFalse)
|
|
ThrowMIFFException(ResourceLimitError,"MemoryAllocationFailed");
|
|
}
|