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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: girgias@php.net
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 13 04:01:27 2024 UTC