com php-src: Fix test failure on 32-bit: ext/standard/tests/serialize/bug74103.phpt
| From: | Anatol Belski | Date: | Tue, 12 Sep 2017 16:22:07 +0000 |
| Subject: | com php-src: Fix test failure on 32-bit: ext/standard/tests/serialize/bug74103.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99396@lists.php.net to get a copy of this message | ||
Commit: eac0bf11e4e97916e9688b18e6d62572e12e129f
Author: Anatol Belski <ab@php.net> Tue, 12 Sep 2017 18:17:28 +0200
Parents: b26d33a8858db1f3bac222615481c334fe4d8bae
Branches: PHP-7.0.24
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=eac0bf11e4e97916e9688b18e6d62572e12e129f
Log:
Fix test failure on 32-bit
(cherry picked from commit 7674b5e5749e8c0076357167ca553f153c94e6d1)
Changed paths:
M ext/standard/tests/serialize/bug74103.phpt
Diff:
diff --git a/ext/standard/tests/serialize/bug74103.phpt b/ext/standard/tests/serialize/bug74103.phpt
index 3d474b3..97076ff 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 unserializing invalid array size
var_dump(unserialize('a:7:{i:0;i:04;s:1:"a";i:2;i:00009617006;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 68 of 100 bytes in %s on line %d
+Notice: unserialize(): Error at offset %d of %d bytes in %s on line %d
bool(false)