summaryrefslogtreecommitdiffstats
path: root/onig-6.9.9-fix-memleaks-initialize-memory.patch
diff options
context:
space:
mode:
Diffstat (limited to 'onig-6.9.9-fix-memleaks-initialize-memory.patch')
-rw-r--r--onig-6.9.9-fix-memleaks-initialize-memory.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/onig-6.9.9-fix-memleaks-initialize-memory.patch b/onig-6.9.9-fix-memleaks-initialize-memory.patch
index 7c7fb16..f4e01fc 100644
--- a/onig-6.9.9-fix-memleaks-initialize-memory.patch
+++ b/onig-6.9.9-fix-memleaks-initialize-memory.patch
@@ -1,7 +1,7 @@
diff -up onig-6.9.9/src/regexec.c.orig onig-6.9.9/src/regexec.c
--- onig-6.9.9/src/regexec.c.orig 2022-12-12 14:27:04.000000000 +0100
+++ onig-6.9.9/src/regexec.c 2024-07-29 12:30:55.752328341 +0200
-@@ -4517,6 +4517,7 @@ regset_search_body_position_lead(OnigReg
+@@ -4559,6 +4559,7 @@ regset_search_body_position_lead(OnigReg
sr = (SearchRange* )xmalloc(sizeof(*sr) * n);
CHECK_NULL_RETURN_MEMERR(sr);
@@ -12,7 +12,7 @@ diff -up onig-6.9.9/src/regexec.c.orig onig-6.9.9/src/regexec.c
diff -up onig-6.9.9/src/regparse.c.orig onig-6.9.9/src/regparse.c
--- onig-6.9.9/src/regparse.c.orig 2024-07-29 12:31:07.838347726 +0200
+++ onig-6.9.9/src/regparse.c 2024-07-29 12:33:48.509582274 +0200
-@@ -4190,7 +4190,10 @@ and_cclass(CClassNode* dest, CClassNode*
+@@ -4250,7 +4250,10 @@ and_cclass(CClassNode* dest, CClassNode*
pbuf = tbuf;
}
}
@@ -24,7 +24,7 @@ diff -up onig-6.9.9/src/regparse.c.orig onig-6.9.9/src/regparse.c
dest->mbuf = pbuf;
bbuf_free(buf1);
-@@ -4247,7 +4250,10 @@ or_cclass(CClassNode* dest, CClassNode*
+@@ -4307,7 +4310,10 @@ or_cclass(CClassNode* dest, CClassNode*
pbuf = tbuf;
}
}