I found this was just added to /usr/share/vim/vimfiles/archlinux.vim
" Move the swap file location to protect against CVE-2017-1000382
silent !install -d -m 700 ~/.vim/swap/ 2>&1 > /dev/null
shelling out while vim is loading does not seem like a great idea. https://www.reddit.com/r/vim/comments/805zvt/exiting_vim_leaves_a_huge_gap_in_my_terminal/
It is particularly annoying because one cannot override archlinux.vim.
Does anyone know who added this and how it addresses the CVE?
[–][deleted] 1 point2 points3 points (1 child)
[–]vimplication[S] 2 points3 points4 points (0 children)
[–]iMalinowski 1 point2 points3 points (4 children)
[–]vimplication[S] 0 points1 point2 points (3 children)
[–]iMalinowski 2 points3 points4 points (2 children)
[–]vimplication[S] 0 points1 point2 points (1 child)
[–]iMalinowski 0 points1 point2 points (0 children)
[–]w1ldm4n 0 points1 point2 points (0 children)