summaryrefslogtreecommitdiff
path: root/ext/intl/tests/locale_parse_locale2.phpt
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2014-06-04 01:06:01 -0700
committerStanislav Malyshev <stas@php.net>2014-06-24 10:31:55 -0700
commit5ecee6ebce576142fd13d2d1ec0bd52dac3086f9 (patch)
tree603c2eef26b48eab47229e6b83aa6c1ccd4d40fd /ext/intl/tests/locale_parse_locale2.phpt
parent18bde665f5d709fbe5185536e64a7ff40745b17c (diff)
downloadphp-git-5ecee6ebce576142fd13d2d1ec0bd52dac3086f9.tar.gz
Fix bug #67349: Locale::parseLocale Double Free
Diffstat (limited to 'ext/intl/tests/locale_parse_locale2.phpt')
-rw-r--r--ext/intl/tests/locale_parse_locale2.phpt6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/intl/tests/locale_parse_locale2.phpt b/ext/intl/tests/locale_parse_locale2.phpt
index 6012862a48..30cc8cc0ae 100644
--- a/ext/intl/tests/locale_parse_locale2.phpt
+++ b/ext/intl/tests/locale_parse_locale2.phpt
@@ -63,7 +63,8 @@ function ut_main()
//Some Invalid Tags:
'de-419-DE',
'a-DE',
- 'ar-a-aaa-b-bbb-a-ccc'
+ 'ar-a-aaa-b-bbb-a-ccc',
+ 'x-AAAAAA',
);
@@ -201,3 +202,6 @@ No values found from Locale parsing.
---------------------
ar-a-aaa-b-bbb-a-ccc:
language : 'ar' ,
+---------------------
+x-AAAAAA:
+private0 : 'AAAAAA' ,