diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2018-01-12 18:20:01 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-14 22:10:54 +0000 |
commit | bbc0795ada93d943bf534289eaa7c07c5ffb7d44 (patch) | |
tree | a4799babf05503dd1ae12dbedb76725c7c82ff08 /meta/recipes-devtools/ruby/ruby/CVE-2017-9228.patch | |
parent | e6aadcc2a04ae4e85b1cb00c5c9ce1c0f76ee871 (diff) | |
download | poky-bbc0795ada93d943bf534289eaa7c07c5ffb7d44.tar.gz |
ruby: update to 2.4.0
Existing version of ruby-native (2.2.5) was crashing on my machine (and others' too),
yet a functional ruby is necessary to upgrade webkit to a version that less vulnerable
to Spectre.
I've performed the update by copying the ruby recipe directory over from the current
pyro tree; if you want to see the list of specific commits, issue this command:
git log 99656fecf4fa6e24ba49ecb7f26f893e733818a0 meta/recipes-devtools/ruby
(up to commit e593d3aeb2ea5f08d6e0753133fe89e345b339e8)
(From OE-Core rev: 4734a4b41898e3df252b6234ed1270a915fd1f68)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/ruby/ruby/CVE-2017-9228.patch')
-rw-r--r-- | meta/recipes-devtools/ruby/ruby/CVE-2017-9228.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/meta/recipes-devtools/ruby/ruby/CVE-2017-9228.patch b/meta/recipes-devtools/ruby/ruby/CVE-2017-9228.patch deleted file mode 100644 index dc911bb20b..0000000000 --- a/meta/recipes-devtools/ruby/ruby/CVE-2017-9228.patch +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | commit 3b63d12038c8d8fc278e81c942fa9bec7c704c8b | ||
2 | Author: K.Kosako <kosako@sofnec.co.jp> | ||
3 | Date: Wed May 24 13:43:25 2017 +0900 | ||
4 | |||
5 | fix #60 : invalid state(CCS_VALUE) in parse_char_class() | ||
6 | |||
7 | Upstream-Status: Backport | ||
8 | |||
9 | CVE: CVE-2017-9228 | ||
10 | Signed-off-by: Thiruvadi Rajaraman <trajaraman@mvista.com> | ||
11 | |||
12 | Index: ruby-2.2.5/regparse.c | ||
13 | =================================================================== | ||
14 | --- ruby-2.2.5.orig/regparse.c 2014-09-16 08:14:10.000000000 +0530 | ||
15 | +++ ruby-2.2.5/regparse.c 2017-08-30 11:58:25.774275722 +0530 | ||
16 | @@ -4458,7 +4458,9 @@ | ||
17 | } | ||
18 | } | ||
19 | |||
20 | - *state = CCS_VALUE; | ||
21 | + if (*state != CCS_START) | ||
22 | + *state = CCS_VALUE; | ||
23 | + | ||
24 | *type = CCV_CLASS; | ||
25 | return 0; | ||
26 | } | ||