Skip to content

Commit 4805be1

Browse files
committed
add test for bug #73452
1 parent 0da5cb5 commit 4805be1

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

ext/soap/tests/bug73452.phpt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
--TEST--
2+
Bug #73452 Segfault (Regression for #69152)
3+
--SKIPIF--
4+
<?php require_once('skipif.inc'); ?>
5+
--FILE--
6+
<?php
7+
8+
$data = 'O:9:"SoapFault":4:{s:9:"faultcode";i:4298448493;s:11:"faultstring";i:4298448543;s:7:"'."\0*\0".'file";i:4298447319;s:7:"'."\0*\0".'line";s:4:"ryat";}';
9+
echo unserialize($data);
10+
11+
?>
12+
==DONE==
13+
--EXPECTF--
14+
SoapFault exception: [4298448493] 4298448543 in :0
15+
Stack trace:
16+
#0 %sbug73452.php(4): unserialize('O:9:"SoapFault"...')
17+
#1 {main}==DONE==

0 commit comments

Comments
 (0)