summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/bug67498.phpt
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2014-06-23 00:19:37 -0700
committerStanislav Malyshev <stas@php.net>2014-06-24 10:32:12 -0700
commit3804c0d00fa6e629173fb1c8c61f8f88d5fe39b9 (patch)
treee3ba915de6a6ac00f715992fdd71f5f8703494fc /ext/standard/tests/general_functions/bug67498.phpt
parenta374dfab567ff7f0ab0dc150f14cc891b0340b47 (diff)
downloadphp-git-3804c0d00fa6e629173fb1c8c61f8f88d5fe39b9.tar.gz
Fix bug #67498 - phpinfo() Type Confusion Information Leak Vulnerability
Diffstat (limited to 'ext/standard/tests/general_functions/bug67498.phpt')
-rw-r--r--ext/standard/tests/general_functions/bug67498.phpt15
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/standard/tests/general_functions/bug67498.phpt b/ext/standard/tests/general_functions/bug67498.phpt
new file mode 100644
index 0000000000..5b5951b0f8
--- /dev/null
+++ b/ext/standard/tests/general_functions/bug67498.phpt
@@ -0,0 +1,15 @@
+--TEST--
+phpinfo() Type Confusion Information Leak Vulnerability
+--FILE--
+<?php
+$PHP_SELF = 1;
+phpinfo(INFO_VARIABLES);
+
+?>
+==DONE==
+--EXPECTF--
+phpinfo()
+
+PHP Variables
+%A
+==DONE==