]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1440: "rvim" can execute a shell through :diffpatch v9.0.1440
authorBram Moolenaar <Bram@vim.org>
Tue, 4 Apr 2023 21:04:53 +0000 (22:04 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 4 Apr 2023 21:04:53 +0000 (22:04 +0100)
commit23a971da506249fc8388f06cd5c011b83406ac5c
treed9db98b1ba14c6f162011a63fb0fbb65c3b17e0c
parentcde8de034524d00aba4ff4142e658baff511e12d
patch 9.0.1440: "rvim" can execute a shell through :diffpatch

Problem:    "rvim" can execute a shell through :diffpatch.
Solution:   Disallow the shell "patch" command.
src/diff.c
src/testdir/test_diffmode.vim
src/version.c