php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37637 Can't access file via file://
Submitted: 2006-05-30 06:21 UTC Modified: 2006-06-07 01:00 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: dave at dgx dot cz Assigned:
Status: No Feedback Package: PCRE related
PHP Version: 5.1.4 OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dave at dgx dot cz
New email:
PHP Version: OS:

 

 [2006-05-30 06:21 UTC] dave at dgx dot cz
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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-30 06:33 UTC] dave at dgx dot cz
summary: Too long input string crashes PHP:
 [2006-05-30 08:03 UTC] tony2001@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

Can't reproduce nor with 5000 of *'s, neither with 5 000 000.

 [2006-05-30 09:01 UTC] edink@php.net
Also please let us know what OS are you using.
 [2006-05-30 09:17 UTC] dave at dgx dot cz
Windows XP SP2
 [2006-06-07 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 13 04:01:26 2024 UTC