summaryrefslogtreecommitdiffstats
path: root/php-upstream.patch
blob: 84862e9dd1572367ce4237c9b711b29892718eaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From 7674b5e5749e8c0076357167ca553f153c94e6d1 Mon Sep 17 00:00:00 2001
From: Anatol Belski <ab@php.net>
Date: Tue, 12 Sep 2017 18:17:28 +0200
Subject: [PATCH] Fix test failure on 32-bit

---
 ext/standard/tests/serialize/bug74103.phpt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/standard/tests/serialize/bug74103.phpt b/ext/standard/tests/serialize/bug74103.phpt
index 3d474b31b1cd..97076ffe466e 100644
--- a/ext/standard/tests/serialize/bug74103.phpt
+++ b/ext/standard/tests/serialize/bug74103.phpt
@@ -5,5 +5,5 @@ Bug #74103: heap-use-after-free when uns
 var_dump(unserialize('a:7:{i:0;i:04;s:1:"a";i:2;i:9617006;i:4;s:1:"a";i:4;s:1:"a";R:5;s:1:"7";R:3;s:1:"a";R:5;;s:18;}}'));
 ?>
 --EXPECTF--
-Notice: unserialize(): Error at offset 64 of 96 bytes in %s on line %d
+Notice: unserialize(): Error at offset %d of %d bytes in %s on line %d
 bool(false)