diff options
| author | Jibril <jibrilf@lmtlss.dev> | 2026-02-16 09:51:00 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-16 09:51:00 -0500 |
| commit | 501a21f3339025f7afabc2ae29ae485cce9d64e5 (patch) | |
| tree | 63199bc0c4d0d5e0c4da9ce3052f60ecd45e7c48 /runtime/lua/vim/range.lua | |
| parent | f4e88cfe429f990a4830f0dca255f77dae4ff149 (diff) | |
| download | rneovim-501a21f3339025f7afabc2ae29ae485cce9d64e5.tar.gz rneovim-501a21f3339025f7afabc2ae29ae485cce9d64e5.tar.bz2 rneovim-501a21f3339025f7afabc2ae29ae485cce9d64e5.zip | |
fix(coverity/637363): out-of-bounds write #37878
Problem:
stack->offset value is used as an array index.
Solution:
Instead of comparing the stack->offset value to the size in bytes of the array,
compare the actual length of the array.
Diffstat (limited to 'runtime/lua/vim/range.lua')
0 files changed, 0 insertions, 0 deletions