mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
@@ -276,3 +276,12 @@ describe('No heap-buffer-overflow when using', function()
|
||||
feed_command('bdelete!')
|
||||
end)
|
||||
end)
|
||||
|
||||
describe('No heap-buffer-overflow when', function()
|
||||
it('set nowrap and send long line #11548', function()
|
||||
feed_command('set nowrap')
|
||||
feed_command('autocmd TermOpen * startinsert')
|
||||
feed_command('call feedkeys("4000ai\\<esc>:terminal!\\<cr>")')
|
||||
eq(2, eval('1+1'))
|
||||
end)
|
||||
end)
|
||||
|
Reference in New Issue
Block a user