]> 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:00 +0000 (22:40 -0700)
commit1fdffd1c55d771ca22ae217784ab75fce592ad38
tree0ff18ba68dac3642fdeaa38946e9a172ceebb222
parent68e2da63622938396df91d617f496ebad5df3e4d
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]