diff options
Diffstat (limited to 'meta/recipes-devtools/ruby/ruby/CVE-2017-9227.patch')
-rw-r--r-- | meta/recipes-devtools/ruby/ruby/CVE-2017-9227.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/recipes-devtools/ruby/ruby/CVE-2017-9227.patch b/meta/recipes-devtools/ruby/ruby/CVE-2017-9227.patch deleted file mode 100644 index f6eaefb7fd..0000000000 --- a/meta/recipes-devtools/ruby/ruby/CVE-2017-9227.patch +++ /dev/null @@ -1,24 +0,0 @@ -commit 9690d3ab1f9bcd2db8cbe1fe3ee4a5da606b8814 -Author: K.Kosako <kosako@sofnec.co.jp> -Date: Tue May 23 16:15:35 2017 +0900 - - fix #58 : access to invalid address by reg->dmin value - -Upstream-Status: backport - -CVE: CVE-2017-9227 -Signed-off-by: Thiruvadi Rajaraman <trajaraman@mvista.com> - -Index: ruby-2.2.5/regexec.c -=================================================================== ---- ruby-2.2.5.orig/regexec.c 2014-09-15 21:48:41.000000000 +0530 -+++ ruby-2.2.5/regexec.c 2017-08-30 12:18:04.054828426 +0530 -@@ -3678,6 +3678,8 @@ - } - else { - UChar *q = p + reg->dmin; -+ -+ if (q >= end) return 0; /* fail */ - while (p < q) p += enclen(reg->enc, p, end); - } - } |