diff options
Diffstat (limited to 'user/oniguruma/192.patch')
-rw-r--r-- | user/oniguruma/192.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/user/oniguruma/192.patch b/user/oniguruma/192.patch new file mode 100644 index 000000000..d027757d7 --- /dev/null +++ b/user/oniguruma/192.patch @@ -0,0 +1,25 @@ +From 47af49af70a717ac31c54ae55ad242a27f213def Mon Sep 17 00:00:00 2001 +From: "K.Kosako" <kkosako0@gmail.com> +Date: Wed, 22 Apr 2020 14:47:09 +0900 +Subject: [PATCH] fix #192: Unexpected regex match + +--- + src/regcomp.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/src/regcomp.c b/src/regcomp.c +index 4d5b78f..b3193c5 100644 +--- a/src/regcomp.c ++++ b/src/regcomp.c +@@ -3567,6 +3567,11 @@ check_node_in_look_behind(Node* node, int not, int* used) + + if (IS_NOT_NULL(NODE_BODY(node))) + r = check_node_in_look_behind(NODE_BODY(node), not, used); ++ ++ /* Issue 192 ++ escape removing node in tune_look_behind() ++ */ ++ *used = TRUE; + break; + + case NODE_GIMMICK: |