xref: /PHP-5.6/ext/mbstring/tests/bug77371.phpt (revision c95daa9c)
1--TEST--
2Bug #77371 (heap buffer overflow in mb regex functions - compile_string_node)
3--SKIPIF--
4<?php extension_loaded('mbstring') or die('skip mbstring not available'); ?>
5--FILE--
6<?php
7var_dump(mb_ereg("()0\xfc00000\xfc00000\xfc00000\xfc",""));
8?>
9--EXPECT--
10bool(false)