Skip to content

vnc: fix overflow in the ZRLE test picture - #353

Merged
techomancer merged 1 commit into
mainfrom
fixvnctest
Oct 29, 2026
Merged

techomancer merged 1 commit into
mainfrom
fixvnctest

Conversation

@techomancer

Copy link
Copy Markdown
Owner

The noise pattern multiplied u32s with overflow, which panics in debug builds. Use wrapping_mul; the picture is unchanged.

The noise pattern multiplied u32s with overflow, which panics in debug
builds. Use wrapping_mul; the picture is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@techomancer
techomancer merged commit 9307b55 into main Oct 29, 2026
7 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.

1 participant