Bug #79441 [Opn->Csd]: Segfault in mb_chr() if internal encoding is unsupported
Edit report at https://bugs.php.net/bug.php?id=79441&edit=1
ID: 79441
Updated by: cmb@php.net
Reported by: girgias@php.net
Summary: Segfault in mb_chr() if internal encoding is
unsupported
-Status: Open
+Status: Closed
Type: Bug
Package: mbstring related
PHP Version: 7.3.16
-Assigned To:
+Assigned To: girgias
Block user comment: N
Private report: N
New Comment:
Fixed with <http://git.php.net/?p=php-src.git;a=commit;h=18dc9044f51c0d694c0b05e29d022787c9749617>.
Previous Comments:
------------------------------------------------------------------------
[2020-03-31 23:48:16] girgias@php.net
Description:
------------
Test script: https://3v4l.org/faneO
This displays (null) instead of the offending encoding in PHP 7.3, and segfaults on PHP 7.4.
Already fixed in master with https://github.com/php/php-src/commit/229dff9f08741c34267ba24668da97d8945f8626
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79441&edit=1
Thread (2 messages)