Skip to content

Conversation

@philhofer
Copy link
Member

On 32-bit systems, int(sz) can yield a negative value, which in turn leads to us passing a negative value to fwd.Reader.Next. (See philhofer/fwd#36.)

The simplest fix here is just to check that the conversion doesn't yield a negative value.

On 32-bit systems, int(sz) can yield a negative value,
which in turn leads to us passing a negative value to
fwd.Reader.Next. (See philhofer/fwd#36.)

The simplest fix here is just to check that the conversion
doesn't yield a negative value.
@philhofer philhofer requested a review from klauspost October 24, 2025 17:27
@philhofer philhofer merged commit e9e666a into master Oct 24, 2025
4 checks passed
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