php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6492 Using php's readdir() makes apache segfault
Submitted: 2000-09-01 17:06 UTC Modified: 2000-09-02 13:48 UTC
From: nkolb at htl dot de Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0.2 OS: solaris x86
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: nkolb at htl dot de
New email:
PHP Version: OS:

 

 [2000-09-01 17:06 UTC] nkolb at htl dot de
The problems seems to be in ext/standard/dir.c line 299
( RETURN_STRINGL(result->d_name, strlen(result->d_name), 1); )
I don't know why.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-01 17:44 UTC] sas@php.net
Fixed in CVS. Thanks for your report.
 [2000-09-02 13:48 UTC] nkolb at htl dot de
Confirmed. It works now.

PS: Whow. Only 38 minutes after submission, the bug was fixed. Good job.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 01:01:31 2024 UTC