diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-10-04 19:50:51 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-04 11:50:51 +0000 |
| commit | 0fca343d641c25f631a5125801d5cb3996e29f7c (patch) | |
| tree | 1b2c931e1cf5104709a8b84c9c0972661002ecb1 /test/functional/vimscript/executable_spec.lua | |
| parent | 94bd212dbcdff557273167067911f157ff02e871 (diff) | |
| download | rneovim-0fca343d641c25f631a5125801d5cb3996e29f7c.tar.gz rneovim-0fca343d641c25f631a5125801d5cb3996e29f7c.tar.bz2 rneovim-0fca343d641c25f631a5125801d5cb3996e29f7c.zip | |
vim-patch:9.1.1823: diff: w_topline may be invalidated (#36018)
Problem: diff: w_topline may be invalidated
Solution: Update lnum in diff_set_topline()
(Yee Cheng Chin).
This can happen in ex_diffupdate() for certain edge cases which cause
the logic to now be wrong. This was also the root cause for vim/vim#18437 where
Vim would crash due to a null pointer dereferencing (said pointer would
not be null under normal circumstances).
related: vim/vim#18437
closes: vim/vim#18484
https://github.com/vim/vim/commit/dd9ed46a39df8a8b08ef4b491fdf53bcbfdc0c2d
Co-authored-by: Yee Cheng Chin <ychin.git@gmail.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions