Files
neovim/test/functional/api
vanaigr 26b72b0f91 fix(api): nvim_buf_get_text() crashes with large negative column #28740
Problem:
crash when calling nvim_buf_get_text() with a large negative start_col:

    call nvim_buf_get_text(0, 0, -123456789, 0, 0, {})

Solution:
clamp start_col after subtracting it from the line length.

(cherry picked from commit d1d7d54680)
2024-09-03 15:30:37 +02:00
..
2024-04-23 18:17:04 +02:00
2024-04-23 18:17:04 +02:00
2024-04-23 18:17:04 +02:00
2024-01-03 02:09:29 +01:00
2024-04-23 18:17:04 +02:00