Skip to content

Commit c8f6ee8

Browse files
committed
[skip ci] Fix trailing data in unserialize in soap test
1 parent f3bd027 commit c8f6ee8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/soap/tests/bug71610.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if (getenv("SKIP_ONLINE_TESTS")) die("skip online test");
88
?>
99
--FILE--
1010
<?php
11-
$exploit = unserialize('O:10:"SoapClient":3:{s:3:"uri";s:1:"a";s:8:"location";s:19:"http://example.org/";s:8:"_cookies";a:1:{s:8:"manhluat";a:3:{i:0;s:0:"";i:1;N;i:2;N;}}}}');
11+
$exploit = unserialize('O:10:"SoapClient":3:{s:3:"uri";s:1:"a";s:8:"location";s:19:"http://example.org/";s:8:"_cookies";a:1:{s:8:"manhluat";a:3:{i:0;s:0:"";i:1;N;i:2;N;}}}');
1212
try {
1313
$exploit->blahblah();
1414
} catch(SoapFault $e) {

0 commit comments

Comments
 (0)