Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:12856
vim.openSUSE_Leap_15.1_Update
source-check-sandbox.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File source-check-sandbox.patch of Package vim.openSUSE_Leap_15.1_Update
Index: vim-8.0.1568/src/getchar.c =================================================================== --- vim-8.0.1568.orig/src/getchar.c +++ vim-8.0.1568/src/getchar.c @@ -1418,6 +1418,12 @@ openscript( EMSG(_(e_nesting)); return; } + + // Disallow sourcing a file in the sandbox, the commands would be executed + // later, possibly outside of the sandbox. + if (check_secure()) + return; + #ifdef FEAT_EVAL if (ignore_script) /* Not reading from script, also don't open one. Warning message? */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor