summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-23 16:13:35 -0300
committerGabriel Schneider <[email protected]>2026-11-23 16:46:30 -0300
commitaf78ec0dcb1ed40fd64001474f46b1b03a72475b (patch)
tree5262f4c395e06ffcfc743995cc2bc7ae0ff9ae3e /runtime
parent5a7716d32de84255e792c5f4bf0fa7b8261b9139 (diff)
downloadpardes-af78ec0dcb1ed40fd64001474f46b1b03a72475b.tar.gz
pardes-af78ec0dcb1ed40fd64001474f46b1b03a72475b.zip
vaxis: a mouse report's bytes are checked, not subtracted and cast: its X10 branch took `full_input[3] - 32` as a u8 (`integer overflow` at Parser.zig:792 on main: a legacy terminal's `ESC [ M` then a control byte, Alt+[ Shift+M Enter), and a button by `@fromBackingInt` (192..195 are none); two Edits in build/patches.zig `vaxis_parser` (a byte under 32: no event, its six bytes taken; a button none of Mouse.Button's: no event), upstream main unfixed (checked 2026-11-23), its report docs/vaxis-mouse-bytes.md; the test: dev/tui/tui.zig (the tests change); a user could hit it with an ordinary terminal in its legacy mouse encoding
Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'runtime')
0 files changed, 0 insertions, 0 deletions