com php-src: add test for bug #73452: ext/soap/tests/bug73452.phpt
| From: | Anatol Belski | Date: | Mon, 21 Nov 2016 14:25:46 +0000 |
| Subject: | com php-src: add test for bug #73452: ext/soap/tests/bug73452.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95940@lists.php.net to get a copy of this message | ||
Commit: 4805be1db6992cda3d1b671b62fd2b40d6865ddc
Author: Anatol Belski <ab@php.net> Mon, 21 Nov 2016 15:25:46 +0100
Parents: 0da5cb5fb635c660b7418f416aa4e15c0f837050
Branches: PHP-5.6 PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4805be1db6992cda3d1b671b62fd2b40d6865ddc
Log:
add test for bug #73452
Bugs:
https://bugs.php.net/73452
Changed paths:
A ext/soap/tests/bug73452.phpt
Diff:
diff --git a/ext/soap/tests/bug73452.phpt b/ext/soap/tests/bug73452.phpt
new file mode 100644
index 0000000..75f8c27
--- /dev/null
+++ b/ext/soap/tests/bug73452.phpt
@@ -0,0 +1,17 @@
+--TEST--
+Bug #73452 Segfault (Regression for #69152)
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
+--FILE--
+<?php
+
+$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";}';
+echo unserialize($data);
+
+?>
+==DONE==
+--EXPECTF--
+SoapFault exception: [4298448493] 4298448543 in :0
+Stack trace:
+#0 %sbug73452.php(4): unserialize('O:9:"SoapFault"...')
+#1 {main}==DONE==