summaryrefslogtreecommitdiff
path: root/user/oniguruma/192.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-08 18:27:48 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-08 18:27:48 +0000
commit1a458f96ccfef6135681804c260290f4bef4d95e (patch)
treed01df48636cea7070e1a8b4f4f259e7df497247f /user/oniguruma/192.patch
parent0b321aaa92b669eff65f73491fd2ab4466aa4995 (diff)
downloadpackages-1a458f96ccfef6135681804c260290f4bef4d95e.tar.gz
packages-1a458f96ccfef6135681804c260290f4bef4d95e.tar.bz2
packages-1a458f96ccfef6135681804c260290f4bef4d95e.tar.xz
packages-1a458f96ccfef6135681804c260290f4bef4d95e.zip
user/oniguruma: Update to 6.9.5.1
Diffstat (limited to 'user/oniguruma/192.patch')
-rw-r--r--user/oniguruma/192.patch25
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: