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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
31 - 17 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 15:01:28 2024 UTC