#37637 [NEW]: Can't access file via file://
| From: | dave at dgx dot cz | Date: | Tue, 30 May 2006 06:21:23 +0000 |
| Subject: | #37637 [NEW]: Can't access file via file:// | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-97774@lists.php.net to get a copy of this message | ||
From: dave at dgx dot cz
Operating system:
PHP version: 5.1.4
PHP Bug Type: PCRE related
Bug description: Can't access file via file://
Description:
------------
Too long input string crashes PHP:
Reproduce code:
---------------
// in some situation 400 chars is enought to reproduce error
$s = str_repeat('*', 5000);
preg_match_all('#(\*)+#', $s, $matches);
Actual result:
--------------
4.3.10 crash
4.3.11 crash
4.3.3 crash
4.3.4 crash
4.3.5 crash
4.3.6 crash
4.3.7 crash
4.3.8 crash
4.3.9 crash
4.4.0 crash
4.4.1 crash
4.4.2 crash
5.0.0 OK
5.0.1 OK
5.0.2 OK
5.0.3 OK
5.0.4 OK
5.0.5 OK
5.1.1 OK
5.1.2 OK
5.1.3 crash
5.1.4 crash
--
Edit bug report at http://bugs.php.net/?id=37637&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37637&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37637&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37637&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37637&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=37637&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37637&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37637&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37637&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37637&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37637&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=37637&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=37637&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37637&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37637&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37637&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37637&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37637&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37637&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37637&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37637&r=mysqlcfg