summaryrefslogtreecommitdiffstats
path: root/63e4eab9cf47d0bf8ff25a2d0414389580d80e23.patch
diff options
context:
space:
mode:
Diffstat (limited to '63e4eab9cf47d0bf8ff25a2d0414389580d80e23.patch')
-rw-r--r--63e4eab9cf47d0bf8ff25a2d0414389580d80e23.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/63e4eab9cf47d0bf8ff25a2d0414389580d80e23.patch b/63e4eab9cf47d0bf8ff25a2d0414389580d80e23.patch
new file mode 100644
index 0000000..837b7c2
--- /dev/null
+++ b/63e4eab9cf47d0bf8ff25a2d0414389580d80e23.patch
@@ -0,0 +1,23 @@
+From 63e4eab9cf47d0bf8ff25a2d0414389580d80e23 Mon Sep 17 00:00:00 2001
+From: Danack <Danack@basereality.com>
+Date: Tue, 16 Apr 2019 11:22:20 +0100
+Subject: [PATCH] Use PHP_INT_MAX as start value to avoid overflowing on 32 bit
+ systems.
+
+---
+ tests/280_imagickkernel_exception_invalid_origin.phpt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/280_imagickkernel_exception_invalid_origin.phpt b/tests/280_imagickkernel_exception_invalid_origin.phpt
+index 66adcf0d..709f9e64 100644
+--- a/tests/280_imagickkernel_exception_invalid_origin.phpt
++++ b/tests/280_imagickkernel_exception_invalid_origin.phpt
+@@ -30,7 +30,7 @@ $invalidOrigins = [
+ [3, 0],
+ [0, 3],
+ [3, 3],
+- [1, 0xffff0000],
++ [1, PHP_INT_MAX - 10],
+ ];
+
+