Problem: cscope: can escape from restricted mode (pyllyukko)
Solution: Disallow :cscope in restricted mode (like :grep)
https://github.com/vim/vim/pull/19731
(2 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@zeertzjq commented on this pull request.
In src/if_cscope.c:
> @@ -254,6 +254,9 @@ do_cscope_general(
{
cscmd_T *cmdp;
+ if (check_restricted())
+ return;
⬇️ Suggested change
- return; + return;
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()