patch 8.2.3171: another illegal memory access in test
Problem: Another illegal memory access in test.
Solution: Check pointer is after the start of the line.
diff --git a/src/userfunc.c b/src/userfunc.c
index d8c943b..3dfa680 100644
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -875,7 +875,7 @@
--end;
while (end > p && VIM_ISWHITE(*end))
--end;
- if (end > p - 2 && end[-1] == '=' && end[0] == '>')
+ if (end > p + 2 && end[-1] == '=' && end[0] == '>')
{
// found trailing "=> {", start of an inline function
if (nesting == MAX_FUNC_NESTING - 1)
diff --git a/src/version.c b/src/version.c
index 5b3a97b..3caf18d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -756,6 +756,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 3171,
+/**/
3170,
/**/
3169,