You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
428 B
16 lines
428 B
3 years ago
|
diff -up vim80/src/search.c.cve1629 vim80/src/search.c
|
||
|
--- vim80/src/search.c.cve1629 2022-05-24 13:55:06.789859865 +0200
|
||
|
+++ vim80/src/search.c 2022-05-24 13:56:31.889218958 +0200
|
||
|
@@ -4349,7 +4349,11 @@ find_next_quote(
|
||
|
if (c == NUL)
|
||
|
return -1;
|
||
|
else if (escape != NULL && vim_strchr(escape, c))
|
||
|
+ {
|
||
|
++col;
|
||
|
+ if (line[col] == NUL)
|
||
|
+ return -1;
|
||
|
+ }
|
||
|
else if (c == quotechar)
|
||
|
break;
|
||
|
#ifdef FEAT_MBYTE
|