0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 8.0.0355: using uninitialized memory when 'isfname' is empty

Problem:    Using uninitialized memory when 'isfname' is empty.
Solution:   Don't call getpwnam() without an argument. (Dominique Pelle,
            closes #1464)
This commit is contained in:
Bram Moolenaar
2017-02-23 17:07:14 +01:00
parent 1c410400fa
commit 187a4f2814
3 changed files with 17 additions and 10 deletions

View File

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