mirror of
https://github.com/php/php-src.git
synced 2025-01-26 21:54:16 +08:00
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:
commit
d517c559fc
13
ext/mbstring/tests/bug78633.phpt
Normal file
13
ext/mbstring/tests/bug78633.phpt
Normal 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)
|
Loading…
Reference in New Issue
Block a user