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
 [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: Fri May 17 13:01:32 2024 UTC