Repository navigation
Conversation
This was referenced Sep 2, 2013
Closed
Contributor
Author
|
If you want to read about the readdir behaviour see https://bugs.php.net/bug.php?id=52383 |
|
Test passed. |
Contributor
|
nice 👍 |
Contributor
|
Who can help to test this? @butonic @DeepDiver1975 @icewind1991 @bartv2 |
Contributor
Author
There was a problem hiding this comment.
Two are better than one ;) gonna fix it.
Contributor
|
looks good, didn't test |
Contributor
Author
|
Test passed. |
DeepDiver1975
added a commit
that referenced
this pull request
Sep 12, 2013
DeepDiver1975
added a commit
that referenced
this pull request
Sep 13, 2013
some is_resource tests have been missing in #4701
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Readdir is said to return false if a folder could not be opened, but if the provided variable is not a proper parameter null is passed. Because since f42b69d we are (correctly!) strictly checking for a false, we can end up in an infinite loop that kills the web server, as reported in #4667 #4658 and #4613
please review @icewind1991 @karlitschek @schiesbn or others
P.S.: includes also fix a wrong var name.