|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77165 mb_check_encoding crashes when argument given an empty array
Submitted: 2018-11-15 16:02 UTC Modified: 2018-11-15 16:09 UTC
From: youkidearitai at gmail dot com Assigned: nikic (profile)
Status: Closed Package: Reproducible crash
PHP Version: 7.3.0RC5 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: youkidearitai at gmail dot com
New email:
PHP Version: OS:


 [2018-11-15 16:02 UTC] youkidearitai at gmail dot com
mb_check_encoding is crashing when first argument given an empty array.
It is also "Process exited with code 139" on

Test script:

Expected result:

Actual result:
Segmentation fault


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-11-15 16:09 UTC]
-Assigned To: +Assigned To: nikic
 [2018-11-15 16:17 UTC]
Automatic comment on behalf of
Log: Fixed bug #77165
 [2018-11-15 16:17 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Apr 10 12:01:23 2021 UTC