CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/03/30 03:23:40
Modified files:
usr.bin/tmux : window-copy.c
Log message:
When in copy mode with a large scroll offset and the window is resized
so that history shrinks, data->oy can exceed screen_hsize causing an
unsigned integer underflow in the py computation. Clamp data->oy in
window_copy_resize and window_copy_cmd_refresh_from_pane before the
subtraction. From futpib at gmail dot com in GitHub issue 4958.
