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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
44 - 10 = ?
Subscribe to this entry?

 
 [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 Jun 14 18:01:32 2024 UTC