php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79441 Segfault in mb_chr() if internal encoding is unsupported
Submitted: 2020-03-31 23:48 UTC Modified: 2020-04-01 08:08 UTC
From: girgias@php.net Assigned: girgias (profile)
Status: Closed Package: mbstring related
PHP Version: 7.3.16 OS:
Private report: No CVE-ID: None
 [2020-03-31 23:48 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-04-01 08:08 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: girgias
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Oct 26 04:01:23 2020 UTC