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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 20:00:02 2026 UTC