diff options
| author | gcrtnst <52910071+gcrtnst@users.noreply.github.com> | 2025-05-06 21:20:03 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-06 05:20:03 -0700 |
| commit | 8707ec264462b66ff9243f40365d6d24ed2f7f6d (patch) | |
| tree | f28ed9f82578886b4835cb9a617219ffe6090560 /test/functional/lua/luaeval_spec.lua | |
| parent | db2b774a16414a7b964736c0e896ddd40d25ca3f (diff) | |
| download | rneovim-8707ec264462b66ff9243f40365d6d24ed2f7f6d.tar.gz rneovim-8707ec264462b66ff9243f40365d6d24ed2f7f6d.tar.bz2 rneovim-8707ec264462b66ff9243f40365d6d24ed2f7f6d.zip | |
fix(termkey): out-of-bounds write in array #33868
Problem:
termkey crashes due to an out-of-bounds write in an array when it
received a CSI sequence with 17 or more arguments. This could be
observed on startup with certain terminal emulators like [RLogin], which
send a response to the `CSI c` query containing 17 parameters.
The termkey code has a boundary check, but its comparison operator is
incorrect.
Solution:
Correct the comparison operator to ensure proper boundary checking.
With this change, I have confirmed that the crash no longer occurs on
RLogin. https://github.com/kmiya-culti/RLogin
Fixes #24356
Diffstat (limited to 'test/functional/lua/luaeval_spec.lua')
0 files changed, 0 insertions, 0 deletions