Skip to content
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

fix edge case of reading 0 bytes from BufferedStream #165

Merged
merged 1 commit into from
Oct 2, 2024
Merged

Conversation

dbu
Copy link
Contributor

@dbu dbu commented Oct 2, 2024

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets -
Documentation -
License MIT

What's in this PR?

PHPStan discovered that we could try to fread with 0 bytes, which is not allowed.

@dbu dbu merged commit 406f1ba into 1.x Oct 2, 2024
15 checks passed
@dbu dbu deleted the fix-phpstan branch October 2, 2024 11:34
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.

1 participant