xref: /php-src/ext/intl/tests/bug72241.phpt (revision 74859783)
1--TEST--
2Bug #72241: get_icu_value_internal out-of-bounds read
3--EXTENSIONS--
4intl
5--FILE--
6<?php
7$var1=str_repeat("A", 1000);
8$out = locale_get_primary_language($var1);
9var_dump($out);
10?>
11--EXPECT--
12NULL
13