Bug #71606 [PATCH]: Segmentation fault mb_strcut + mb_list_encodings
| From: | cmb@php.net | Date: | Sat, 30 Jul 2016 22:41:25 +0000 |
| Subject: | Bug #71606 [PATCH]: Segmentation fault mb_strcut + mb_list_encodings | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-202742@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71606&edit=1
ID: 71606
Patch added by: cmb@php.net
Reported by: imbolk at gmail dot com
Summary: Segmentation fault mb_strcut + mb_list_encodings
Status: Verified
Type: Bug
Package: mbstring related
Operating System: Linux
PHP Version: 5.6.18
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
The following patch has been added/updated:
Patch Name: fix-71606
Revision: 1469918484
URL: https://bugs.php.net/patch-display.php?bug=71606&patch=fix-71606&revision=1469918484
Previous Comments:
------------------------------------------------------------------------
[2016-07-30 11:39:18] cmb@php.net
Confirmed: <https://3v4l.org/mkXHU>. Seems to affect PHP
5 only.
------------------------------------------------------------------------
[2016-02-16 07:48:12] imbolk at gmail dot com
Description:
------------
Segmentation fault in code mb_strcut+mb_list_encodings
Test script:
---------------
echo mb_strcut('"', 0, 0, 'HTML-ENTITIES');
var_dump(mb_list_encodings());
Expected result:
----------------
list of encodings
Actual result:
--------------
Segmentation fault
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71606&edit=1