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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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: Thu Nov 21 11:01:29 2024 UTC