#46915 [NEW]: metaphone crash on utf-8 data "kdxkdx"

From: Date: Sat, 20 Dec 2008 19:07:59 +0000
Subject: #46915 [NEW]: metaphone crash on utf-8 data "kdxkdx"
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-132205@lists.php.net to get a copy of this message
From: qrizly at hotmail dot com Operating system: window vista PHP version: 5.3CVS-2008-12-20 (snap) PHP Bug Type: Reproducible crash Bug description: metaphone crash on utf-8 data "kdxkdx" Description: ------------ the string "kdxkdx" encoded in utf-8 or ISO-8859-1 craches in PHP 5.1 and tested in latest snapshot: php-5.3-win32-VC6-x86 Reproduce code: --------------- $txt = iconv("ISO-8859-1", "UTF-8", "kdxkdx"); echo metaphone($txt); Expected result: ---------------- echo: KTKSKTKS Actual result: -------------- PHP CGI crash -- Edit bug report at http://bugs.php.net/?id=46915&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46915&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46915&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46915&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46915&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46915&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=46915&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46915&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46915&r=needscript Try newer version: http://bugs.php.net/fix.php?id=46915&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46915&r=support Expected behavior: http://bugs.php.net/fix.php?id=46915&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46915&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46915&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46915&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46915&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46915&r=dst IIS Stability: http://bugs.php.net/fix.php?id=46915&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46915&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46915&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46915&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46915&r=mysqlcfg

« previous php.bugs (#132205) next »