mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-09 17:41:36 +00:00
Add a regression test that exercises the code path which crashed in v0.46.2 (#10017): when paused_rendering is active and a selection extends into the scrollback, the inner loop of apply_selection iterates with a negative y. Without the recently-added paused_y translation and the paused_y < 0 guard, the call to linebuf_init_line treats the negative y as a huge unsigned index_type and reads ~4GB out of bounds in line_attrs[idx], crashing with SIGBUS. The test reproduces the trigger deterministically via the Screen Python bindings and asserts that current_selections() returns the expected buffer instead of crashing. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| atexit.py | ||
| CascadiaCode-Regular.otf | ||
| check_build.py | ||
| clipboard.py | ||
| ComfyCode-Regular.ttf | ||
| command_palette.py | ||
| completion.py | ||
| crypto.py | ||
| datatypes.py | ||
| dnd.py | ||
| dnd_kitten.py | ||
| file_transmission.py | ||
| FiraCode-Medium.otf | ||
| fonts.py | ||
| glfw.py | ||
| gr.py | ||
| GraphemeBreakTest.json | ||
| graphics.py | ||
| iosevka-regular.ttf | ||
| keys.py | ||
| layout.py | ||
| LiberationMono-Regular.ttf | ||
| main.py | ||
| mouse.py | ||
| multicell.py | ||
| notifications.py | ||
| open_actions.py | ||
| options.py | ||
| panels.py | ||
| parser.py | ||
| screen.py | ||
| search_query_parser.py | ||
| shell_integration.py | ||
| shm.py | ||
| ssh.py | ||
| tui.py | ||
| twemoji_smiley-cff2_colr_1.otf | ||
| utmp.py | ||