diff options
| author | glepnir <glephunter@gmail.com> | 2026-03-11 06:17:02 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-10 18:17:02 -0400 |
| commit | e23c083d133b5d474eec281da0acab93cfcefb35 (patch) | |
| tree | f3553b11a4b0f74ccb63c71122bd66cb7e1f9a1a /runtime/lua/vim | |
| parent | 2c5266429c040b68a9b48c501732a958817f477c (diff) | |
| download | rneovim-e23c083d133b5d474eec281da0acab93cfcefb35.tar.gz rneovim-e23c083d133b5d474eec281da0acab93cfcefb35.tar.bz2 rneovim-e23c083d133b5d474eec281da0acab93cfcefb35.zip | |
fix(highlight): avoid null deref, misc issues #38164
Problem: update_window_hl dereferenced the pmap_get result without a
NULL check. Also `tmp` had the wrong type and attr_id==0 was rejected
twice.
Solution: check the pointer before dereferencing, change `tmp` to
bool, and update the attr_id check to `< 0`.
Diffstat (limited to 'runtime/lua/vim')
0 files changed, 0 insertions, 0 deletions