aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-07-31 17:19:17 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-07-31 18:31:41 -0400
commit18b12bcee1b316d9eb62d80a086886d1685525ee (patch)
tree52e03e179cf244f138c0af91e4e19445b7963e05
parent5cead86975f89bf0e1765afcd10ded64d5b51346 (diff)
downloadrneovim-18b12bcee1b316d9eb62d80a086886d1685525ee.tar.gz
rneovim-18b12bcee1b316d9eb62d80a086886d1685525ee.tar.bz2
rneovim-18b12bcee1b316d9eb62d80a086886d1685525ee.zip
vim-patch:8.2.3115: Coverity complains about free_wininfo() use
Problem: Coverity complains about free_wininfo() use. Solution: Add a condition that "wip2" is not equal to "wip". (Neovim vim/vim#14996) https://github.com/vim/vim/commit/b5098060f4acae4dac3203130278c948d670a3d5 This fix came from https://github.com/neovim/neovim/pull/14996. This commit adds only a comment to be in sync with Vim. N/A patches for version.c: vim-patch:8.2.3063: crash when switching 'cryptmethod' to xchaha20 with undo file Problem: Crash when switching 'cryptmethod' to xchaha20 with an existing undo file. (Martin Tournoij) Solution: Disable reading undo file when decoding can't be done inplace. (issue vim/vim#8467) https://github.com/vim/vim/commit/65aee0b714e809b9f19862f3decd35055ed4de10 vim-patch:8.2.3101: missing function prototype for vim_round() Problem: Missing function prototype for vim_round(). Solution: Add the prototype. https://github.com/vim/vim/commit/67b17a6fc62156383d24dcbd6e6df34e180d7235 vim-patch:8.2.3119: compiler warning for unused argument Problem: Compiler warning for unused argument. Solution: Add UNUSED. https://github.com/vim/vim/commit/6a9e5c69cf36676e65ae191264872a3e41bde37f vim-patch:8.2.3120: crypt with sodium test fails on MS-Windows Problem: Crypt with sodium test fails on MS-Windows. Solution: Make the tests pass. (closes vim/vim#8428) https://github.com/vim/vim/commit/db8647277082a8a69a189ded8bd1408af993b54e vim-patch:8.2.3131: MS-Windows: ipv6 channel test is very flaky in the GUI Problem: MS-Windows: ipv6 channel test is very flaky in the GUI. Solution: Skip the test. https://github.com/vim/vim/commit/981217c11f92b37f2baa51492cbe12e85d0ea493 vim-patch:8.2.3140: MS-Windows: ipv6 channel test is very flaky also without GUI Problem: MS-Windows: ipv6 channel test is very flaky also without the GUI. Solution: Skip the test also without the GUI. https://github.com/vim/vim/commit/482d2f37a5ce43157ab1e22c26f389770d0c20cf vim-patch:8.2.3157: crypt test may fail on MS-Windows Problem: Crypt test may fail on MS-Windows. Solution: Ignore "[unix]" in the file message. (Christian Brabandt, closes vim/vim#8561) https://github.com/vim/vim/commit/16e26a31161d65baca7885c46c43ab4a48399c92 vim-patch:8.2.3218: when using xchaha20 crypt undo file is not removed Problem: When using xchaha20 crypt undo file is not removed. Solution: Reset 'undofile' and delete the file. (Christian Brabandt, closes vim/vim#8630, closes vim/vim#8467) https://github.com/vim/vim/commit/8a4c812ede5b01a8e71082c1ff4ebfcbf1bd515f vim-patch:8.2.3245: the crypt key may appear in a swap partition Problem: The crypt key may appear in a swap partition. Solution: When using xchaha20 use sodium_mlock(). (Christian Brabandt, closes vim/vim#8657) https://github.com/vim/vim/commit/131530a54d0f72b820b027606231744e3a09b9ef
-rw-r--r--src/nvim/window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c
index fb1a4a580b..0856e75758 100644
--- a/src/nvim/window.c
+++ b/src/nvim/window.c
@@ -4662,6 +4662,7 @@ win_free (
// If there already is an entry with "wi_win" set to NULL it
// must be removed, it would never be used.
+ // Skip "wip" itself, otherwise Coverity complains.
for (wip2 = buf->b_wininfo; wip2 != NULL; wip2 = wip2->wi_next) {
// `wip2 != wip` to satisfy Coverity. #14884
if (wip2 != wip && wip2->wi_win == NULL) {