#45722 [NEW]: Segmentation fault
| From: | estacuentanolamiro at gmail dot com | Date: | Tue, 05 Aug 2008 11:51:30 +0000 |
| Subject: | #45722 [NEW]: Segmentation fault | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-127618@lists.php.net to get a copy of this message | ||
From: estacuentanolamiro at gmail dot com
Operating system: Ubuntu 6.06 LTS server
PHP version: 5.2.6
PHP Bug Type: mbstring related
Bug description: Segmentation fault
Description:
------------
mb_check_encoding segmentation fault
Reproduce code:
---------------
$text = "&· ASDF ASDF ASDF ASDF ASDF ASDF ASDF";
if( mb_check_encoding($text,'HTML-ENTITIES') ) {
$text = htmlentities($text);
}
echo $text;
Expected result:
----------------
string
Actual result:
--------------
Nothing, segmentation fault.
--
Edit bug report at http://bugs.php.net/?id=45722&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45722&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45722&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45722&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=45722&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=45722&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=45722&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=45722&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=45722&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=45722&r=support
Expected behavior: http://bugs.php.net/fix.php?id=45722&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=45722&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=45722&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=45722&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45722&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=45722&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=45722&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=45722&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=45722&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=45722&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=45722&r=mysqlcfg