# HG changeset patch # User Bram Moolenaar # Date 1302524858 -7200 # Node ID b5f774f159274af375455f32d628881c027417d1 # Parent 27dc785311d83ed18666dfad0e4a0bd3cb974eb8 updated for version 7.3.158 Problem: Might use uninitialized memory in C indenting. Solution: Init arrays to empty. diff --git a/src/misc1.c b/src/misc1.c --- a/src/misc1.c +++ b/src/misc1.c @@ -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) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 158, +/**/ 157, /**/ 156,