0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.0.1287: temp file used for viminfo may have wrong permissions

Problem:    The temp file used when updating the viminfo file may have the
            wrong permissions if setting the group fails.
Solution:   Check if the group matches and reduce permissions if not.
This commit is contained in:
Bram Moolenaar
2017-11-11 16:45:19 +01:00
parent 5fd8b78214
commit aeeb6888ca
2 changed files with 26 additions and 5 deletions

View File

@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1287,
/**/
1286,
/**/