]> granicus.if.org Git - php/commit
Fix #79371: mb_strtolower (UTF-32LE): stack-buffer-overflow
authorChristoph M. Becker <cmbecker69@gmx.de>
Thu, 12 Mar 2020 12:04:04 +0000 (13:04 +0100)
committerStanislav Malyshev <stas@php.net>
Tue, 17 Mar 2020 05:40:48 +0000 (22:40 -0700)
commitdb848e1482c1871d8b2a4185f0c6ac261069e4bd
tree6641c1f61eff4c6942358414934116aef843fb3b
parenta57905dbacfc4e5d94267fecf0e0f4a2798e7022
Fix #79371: mb_strtolower (UTF-32LE): stack-buffer-overflow

We make sure that negative values are properly compared.
ext/mbstring/php_unicode.c
ext/mbstring/tests/bug79371.phpt [new file with mode: 0644]