Skip to content
Snippets Groups Projects
Commit 11808226 authored by Bram Moolenaar's avatar Bram Moolenaar
Browse files

updated for version 7.4.054

Problem:    Reading past end of the 'stl' string.
Solution:   Don't increment pointer when already at the NUL. (Christian
            Brabandt)
parent b69a714b
No related merge requests found
......@@ -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;
}
......
......@@ -738,6 +738,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
54,
/**/
53,
/**/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment