Skip to content

Conversation

devnexen
Copy link
Member

@devnexen devnexen commented Apr 1, 2025

Triggers the assertion as with SEEK_CUR the stream position is set to a negative value so we force the failure without affecting its position instead.

@devnexen devnexen requested a review from bukka as a code owner April 1, 2025 18:00
@devnexen devnexen linked an issue Apr 1, 2025 that may be closed by this pull request
@@ -0,0 +1,13 @@
--TEST--
GH-18212 fseek with SEEK_CUR and negative offset leads to negative file stream position.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT

Suggested change
GH-18212 fseek with SEEK_CUR and negative offset leads to negative file stream position.
GH-18212: fseek with SEEK_CUR and negative offset leads to negative file stream position.

Triggers the assertion as with SEEK_CUR the stream position is set to a
negative value so we force the failure without affecting its position
instead.

close phpGH-18224
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unreachable program point: streams
2 participants