Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix #78633: Heap buffer overflow (read) in mb_eregi
This commit is contained in:
Stanislav Malyshev 2019-10-20 23:20:16 -07:00
commit d517c559fc

View File

@ -0,0 +1,13 @@
--TEST--
Bug #78633 (Heap buffer overflow (read) in mb_eregi)
--SKIPIF--
<?php
if (!extension_loaded('mbstring')) die('skip mbstring extension not available');
if (!function_exists('mb_eregi')) die('skip mb_eregi function not available');
?>
--FILE--
<?php
var_dump(mb_eregi(".+Isssǰ", ".+Isssǰ"));
?>
--EXPECT--
bool(false)