parent
a0b78be742
commit
f66db13cb3
@ -1 +1 @@
|
||||
8f2e73579c93b03c68212be540adab2b5755e9b0 SOURCES/ImageMagick-6.9.12-93.tar.xz
|
||||
def890e86cee6b52ca4c8e2f9e2616d05db8475a SOURCES/ImageMagick-6.9.13-14.tar.xz
|
||||
|
@ -1 +1 @@
|
||||
SOURCES/ImageMagick-6.9.12-93.tar.xz
|
||||
SOURCES/ImageMagick-6.9.13-14.tar.xz
|
||||
|
@ -1,23 +0,0 @@
|
||||
From 15c5b01124557ccca9a619bd435d91ecd73659d3 Mon Sep 17 00:00:00 2001
|
||||
From: Cristy <urban-warrior@imagemagick.org>
|
||||
Date: Mon, 13 Mar 2023 07:42:46 -0400
|
||||
Subject: [PATCH] terminate loop on page sentinel
|
||||
(#https://github.com/ImageMagick/ImageMagick/issues/6158)
|
||||
|
||||
---
|
||||
magick/geometry.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/magick/geometry.c b/magick/geometry.c
|
||||
index 6af9a36957..4a0c24eed9 100644
|
||||
--- a/magick/geometry.c
|
||||
+++ b/magick/geometry.c
|
||||
@@ -492,6 +492,8 @@ MagickExport char *GetPageGeometry(const char *page_geometry)
|
||||
int
|
||||
status;
|
||||
|
||||
+ if (Pagesizes[i].extent == 0)
|
||||
+ break; /* sentinel */
|
||||
status=LocaleNCompare(Pagesizes[i].name,page_geometry,Pagesizes[i].extent);
|
||||
if (status == 0)
|
||||
{
|
Loading…
Reference in new issue