We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a31256d commit b100d51Copy full SHA for b100d51
ext/standard/tests/serialize/bug70219.phpt
@@ -4,8 +4,6 @@ Bug #70219 Use after free vulnerability in session deserializer
4
<?php
5
if (!extension_loaded('session')) die('skip session extension not available');
6
?>
7
---XFAIL--
8
-Unfinished merge, needs fix.
9
--FILE--
10
11
class obj implements Serializable {
@@ -32,15 +30,6 @@ var_dump($data);
32
30
33
31
--EXPECTF--
34
Warning: session_decode(): Failed to decode session object. Session has been destroyed in %s on line %d
35
-array(2) {
36
- [0]=>
37
- object(obj)#%d (1) {
38
- ["data"]=>
39
- NULL
40
- }
41
- [1]=>
42
- &array(1) {
43
44
45
46
-}
+
+Notice: unserialize(): Error at offset 55 of 56 bytes in %s on line %d
+bool(false)
0 commit comments