aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/callbacks.lua
diff options
context:
space:
mode:
authorThomas Vigouroux <39092278+vigoux@users.noreply.github.com>2020-04-22 18:54:56 +0200
committerGitHub <noreply@github.com>2020-04-22 18:54:56 +0200
commit6c9a5743a0c296e74a48368a65783b9d49e6f702 (patch)
treeec9d5a7d20854ed4e7f0c6af4ed823b4745d2a22 /runtime/lua/vim/lsp/callbacks.lua
parentfdedaa7226ffa411d023f37c3c5dbae984ca0e38 (diff)
downloadrneovim-6c9a5743a0c296e74a48368a65783b9d49e6f702.tar.gz
rneovim-6c9a5743a0c296e74a48368a65783b9d49e6f702.tar.bz2
rneovim-6c9a5743a0c296e74a48368a65783b9d49e6f702.zip
treesitter: check for integer overflow (#12135)
Sometimes treesitter calls for an invalid column within a line, checking that the column is actually valid and forcing the value avoids an integer overflow and an infinite sequence of invalid reads. Fixes #12131
Diffstat (limited to 'runtime/lua/vim/lsp/callbacks.lua')
0 files changed, 0 insertions, 0 deletions