mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 17:06:30 +00:00
fix: avoid unsigned overflow in home_replace()
(cherry picked from commit d3ac297554
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
5eab16fa24
commit
06144afb71
@@ -144,4 +144,10 @@ describe('tabpage', function()
|
||||
command(' silent :keepalt :: ::: silent! -2 tabmove')
|
||||
eq(1, funcs.nvim_tabpage_get_number(0))
|
||||
end)
|
||||
|
||||
it(':tabs does not overflow IObuff with long path with comma #20850', function()
|
||||
meths.buf_set_name(0, ('x'):rep(1024) .. ',' .. ('x'):rep(1024))
|
||||
command('tabs')
|
||||
assert_alive()
|
||||
end)
|
||||
end)
|
||||
|
Reference in New Issue
Block a user