aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_system.lua
diff options
context:
space:
mode:
authorThomas Vigouroux <thomas.vigouroux@protonmail.com>2023-08-19 02:19:36 +0200
committerGitHub <noreply@github.com>2023-08-19 08:19:36 +0800
commit7a3fef9e348be541c585fd3544c912950387641f (patch)
treeadbf8372888df26130aaed3f7915cb066fd57f05 /runtime/lua/vim/_system.lua
parent5a6c7c805b8bb1d1ed9fe829ed33f18ffa6f4f47 (diff)
downloadrneovim-7a3fef9e348be541c585fd3544c912950387641f.tar.gz
rneovim-7a3fef9e348be541c585fd3544c912950387641f.tar.bz2
rneovim-7a3fef9e348be541c585fd3544c912950387641f.zip
refactor(tui): check for out of bound access after snprintf (#24751)
Counterintuitively, snprintf returns the number of characters it _should have written_ if it had not encoutered the length bound, thus leading to a potential buffer overflow. Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'runtime/lua/vim/_system.lua')
0 files changed, 0 insertions, 0 deletions