From 70cbf84439cb4b0fec252966ffd596ebb6bbfdbc Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 12 Sep 2016 08:53:59 +0200 Subject: [PATCH] add missing test --- tests/bug73055.phpt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 tests/bug73055.phpt diff --git a/tests/bug73055.phpt b/tests/bug73055.phpt new file mode 100644 index 0000000..04201c7 --- /dev/null +++ b/tests/bug73055.phpt @@ -0,0 +1,26 @@ +--TEST-- +Bug #73055 (Type confusion vulnerability in merge_param()) +--SKIPIF-- + +--FILE-- + + +===DONE=== +--EXPECTF-- +Test +%r(exception ')?%rhttp\Exception\BadQueryStringException%r(' with message '|: )%rhttp\QueryString::__construct(): Max input nesting level of %d exceeded%r'?%r in %sbug73055.php:%d +Stack trace: +#0 %sbug73055.php(%d): http\QueryString->__construct('[[[[[[[[[[[[[[[...') +#1 {main} +===DONE=== -- 2.30.2