summaryrefslogtreecommitdiff
path: root/ext/standard/tests
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2014-06-24 10:23:36 -0700
committerStanislav Malyshev <stas@php.net>2014-06-24 10:23:36 -0700
commit3488cf6fd8a6510bf523a877eb63e86d39c7f9bd (patch)
treed52997ad7822039b34bb279b444ae28ed7a1a365 /ext/standard/tests
parent08e7252abfc81339ce647449cae9d5035cd8ad09 (diff)
parent79457d1964c8a55c55c13b40e6b2d877792a9dc6 (diff)
downloadphp-git-3488cf6fd8a6510bf523a877eb63e86d39c7f9bd.tar.gz
Merge branch 'PHP-5.4.30' into PHP-5.4
* PHP-5.4.30: 5.4.30 Better fix for bug #67072 with more BC provisions Fix bug #67498 - phpinfo() Type Confusion Information Leak Vulnerability update CVE Fix bug #67492: unserialize() SPL ArrayObject / SPLObjectStorage Type Confusion Fix bug #67397 (Buffer overflow in locale_get_display_name->uloc_getDisplayName (libicu 4.8.1)) Fix bug #67349: Locale::parseLocale Double Free add CVEs Fix potential segfault in dns_get_record() Fix bug #66127 (Segmentation fault with ArrayObject unset) 5.4.30 rc1 Conflicts: configure.in main/php_version.h
Diffstat (limited to 'ext/standard/tests')
-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==