]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0400: sandbox callbacks selected through 'complete' v9.2.0400
authorBarrett Ruth <br.barrettruth@gmail.com>
Mon, 27 Apr 2026 17:18:17 +0000 (17:18 +0000)
committerChristian Brabandt <cb@256bit.org>
Mon, 27 Apr 2026 17:18:17 +0000 (17:18 +0000)
commitdd9b31fb62c0003be6cfd18847982b26efc73d34
tree2b499fdbb5324886f8deba5adba3957d0841581f
parenta622dda91597f379bcbddb2e4370ef1ea61fbc47
patch 9.2.0400: sandbox callbacks selected through 'complete'

Problem:  Modeline-tainted 'complete' values can invoke completion
          callbacks outside the sandbox.
Solution: Enter the sandbox for both 'complete' callback phases and add
          a regression test (Barrett Ruth)

closes: #20078

Signed-off-by: Barrett Ruth <br.barrettruth@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/insexpand.c
src/testdir/test_modeline.vim
src/version.c