aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@users.noreply.github.com>2022-05-12 14:53:08 +0200
committerGitHub <noreply@github.com>2022-05-12 05:53:08 -0700
commit963cfa7020a0e27be7223e43f6b5ee270d2ee7ec (patch)
tree0a74ca85742d187de573fbc519553befa7db4708 /runtime/lua/vim
parent3a91adabda43376638e0edc80f54181258c98dea (diff)
downloadrneovim-963cfa7020a0e27be7223e43f6b5ee270d2ee7ec.tar.gz
rneovim-963cfa7020a0e27be7223e43f6b5ee270d2ee7ec.tar.bz2
rneovim-963cfa7020a0e27be7223e43f6b5ee270d2ee7ec.zip
fix(terminal): invalid pointer comparison #18453
At the moment of comparison, the pointer save_curwin can be invalid (as suggested by the comment) because it has been free'd. Worst, the new curwin could have been re-allocated to that same pointer, altering the execution flow unpredictably. While there are many other potential similar cases to fix in the codebase, the presented scenario is not hypothetical and does happen in practice (while spawning new windows from fzf for instance). There are numerous other instances of curwin comparisons in the codebase, and they may need further investigation. closes #16941
Diffstat (limited to 'runtime/lua/vim')
0 files changed, 0 insertions, 0 deletions