1
0
forked from aniani/vim

updated for version 7.3.158

Problem:    Might use uninitialized memory in C indenting.
Solution:   Init arrays to empty.
This commit is contained in:
Bram Moolenaar 2011-04-11 14:27:38 +02:00
parent 367bec852e
commit 4aa97427be
2 changed files with 4 additions and 0 deletions

View File

@ -6433,6 +6433,8 @@ get_c_indent()
/* find how indented the line beginning the comment is */
getvcol(curwin, trypos, &col, NULL, NULL);
amount = col;
*lead_start = NUL;
*lead_middle = NUL;
p = curbuf->b_p_com;
while (*p != NUL)

View File

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