Skip to content

Commit b100d51

Browse files
committed
Remove xfail on bug70219.phpt
Looks like this is working as it's supposed to, the test expectation just needs to be adjusted.
1 parent a31256d commit b100d51

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

ext/standard/tests/serialize/bug70219.phpt

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ Bug #70219 Use after free vulnerability in session deserializer
44
<?php
55
if (!extension_loaded('session')) die('skip session extension not available');
66
?>
7-
--XFAIL--
8-
Unfinished merge, needs fix.
97
--FILE--
108
<?php
119
class obj implements Serializable {
@@ -32,15 +30,6 @@ var_dump($data);
3230
?>
3331
--EXPECTF--
3432
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-
["data"]=>
44-
NULL
45-
}
46-
}
33+
34+
Notice: unserialize(): Error at offset 55 of 56 bytes in %s on line %d
35+
bool(false)

0 commit comments

Comments
 (0)