diff options
author | Thomas Vigouroux <thomas.vigouroux@protonmail.com> | 2023-08-19 02:19:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-19 08:19:36 +0800 |
commit | 7a3fef9e348be541c585fd3544c912950387641f (patch) | |
tree | adbf8372888df26130aaed3f7915cb066fd57f05 /runtime/lua/vim/_meta/vimfn.lua | |
parent | 5a6c7c805b8bb1d1ed9fe829ed33f18ffa6f4f47 (diff) | |
download | rneovim-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/_meta/vimfn.lua')
0 files changed, 0 insertions, 0 deletions