#46738 [Opn->Fbk]: mb_detect_encoding, segmentation fault

From: Date: Thu, 04 Dec 2008 03:11:35 +0000
Subject: #46738 [Opn->Fbk]: mb_detect_encoding, segmentation fault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-131584@lists.php.net to get a copy of this message
ID: 46738 Updated by: masugata@php.net Reported By: thomas at koch dot ro -Status: Open +Status: Feedback Bug Type: mbstring related Operating System: Debian Lenny PHP Version: 5.2CVS-2008-12-03 (CVS) New Comment: Hello. :-) Please backtrace and php.ini setting(mbstring section). http://bugs.php.net/bugs-generating-backtrace.php I'm tested in Debian Etch. But, not Segmentation Fault. Previous Comments: ------------------------------------------------------------------------ [2008-12-03 11:48:57] thomas at koch dot ro Description: ------------ the code gives a segmentation fault Reproduce code: --------------- $html = chr( 250 ).chr( 10 ); mb_detect_encoding( $html, NULL, TRUE ); Expected result: ---------------- -- no output, no error -- Actual result: -------------- segmentation fault ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46738&edit=1

« previous php.bugs (#131584) next »