Skip to content

fix edge case of reading 0 bytes from BufferedStream #165

New issue

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

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

Already on GitHub? # to your account

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant