Skip to content

Fix GH-7809: Cloning a faked SplFileInfo object may segfault #7814

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Dec 22, 2021

While the path is not supposed to be NULL for normal operation, it
is possible to create SplFileInfo objects where that is the case, and
we must not follow the null pointer.

While the `path` is not supposed to be `NULL` for normal operation, it
is possible to create `SplFileInfo` objects where that is the case, and
we must not follow the null pointer.
@cmb69
Copy link
Member Author

cmb69 commented Dec 23, 2021

Travis CI failure is unrelated (apparently, we exceeded some limits, again).

@cmb69 cmb69 closed this in 0ed39ed Dec 23, 2021
@cmb69 cmb69 deleted the cmb/gh7809 branch December 23, 2021 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants