|  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
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:
Solve the problem:
34 + 22 = ?
Subscribe to this entry?

 [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-2019 The PHP Group
All rights reserved.
Last updated: Fri May 24 20:01:29 2019 UTC