Skip to content

Commit

Permalink
updated for version 7.4.054
Browse files Browse the repository at this point in the history
Problem:    Reading past end of the 'stl' string.
Solution:   Don't increment pointer when already at the NUL. (Christian
            Brabandt)
  • Loading branch information
brammool committed Nov 2, 2013
1 parent b69a714 commit 1180822
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/buffer.c
Expand Up @@ -4062,7 +4062,8 @@ build_stl_str_hl(wp, out, outlen, fmt, use_sandbox, fillchar,
item[curitem].minwid = -syn_namen2id(t, (int)(s - t));
curitem++;
}
++s;
if (*s != NUL)
++s;
continue;
}

Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -738,6 +738,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
54,
/**/
53,
/**/
Expand Down

0 comments on commit 1180822

Please sign in to comment.