diff options
author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-06-11 04:09:56 -0400 |
---|---|---|
committer | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-06-11 04:10:01 -0400 |
commit | cd3233c289d4204ebb0148fe49d02ef5f69c5e37 (patch) | |
tree | 3cf5db6e34fe1e7d820b08bd833cc96e1b8343ef /test/functional/ui/float_spec.lua | |
parent | 1df8a34a7b91028413d6ac751b9dbf9fdcd6cda2 (diff) | |
download | rneovim-cd3233c289d4204ebb0148fe49d02ef5f69c5e37.tar.gz rneovim-cd3233c289d4204ebb0148fe49d02ef5f69c5e37.tar.bz2 rneovim-cd3233c289d4204ebb0148fe49d02ef5f69c5e37.zip |
fix(lua): ensure vim.region truncates to buf range
If vim.region receives a large range outside of the current buffer
bounds, it will not check the range ahead of time and loop until neovim
exhausts the system memory.
Fixes #14743
Diffstat (limited to 'test/functional/ui/float_spec.lua')
0 files changed, 0 insertions, 0 deletions