summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/ruby/ruby_2.4.1.bb
diff options
context:
space:
mode:
authorJoe Slater <jslater@windriver.com>2017-08-16 14:46:11 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-18 10:40:26 +0100
commit391127b00291bddba010813f9e033a31290c3b66 (patch)
treebfba3bfa4b786b3dfb830721d8c48febd14c180a /meta/recipes-devtools/ruby/ruby_2.4.1.bb
parentf14f918d9db871cb91811a4f28e42b317634aab4 (diff)
downloadpoky-391127b00291bddba010813f9e033a31290c3b66.tar.gz
ruby: fix CVE-2017-9224
Use DATA_ENSURE(1) before access. (From OE-Core rev: 9db907a0bd331c47c4882b82f9f1d2a7ef1f6d1f) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/ruby/ruby_2.4.1.bb')
-rw-r--r--meta/recipes-devtools/ruby/ruby_2.4.1.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/ruby/ruby_2.4.1.bb b/meta/recipes-devtools/ruby/ruby_2.4.1.bb
index 1d335f1c28..77e17f199b 100644
--- a/meta/recipes-devtools/ruby/ruby_2.4.1.bb
+++ b/meta/recipes-devtools/ruby/ruby_2.4.1.bb
@@ -1,5 +1,9 @@
1require ruby.inc 1require ruby.inc
2 2
3SRC_URI += " \
4 file://ruby-CVE-2017-9224.patch \
5 "
6
3SRC_URI[md5sum] = "782bca562e474dd25956dd0017d92677" 7SRC_URI[md5sum] = "782bca562e474dd25956dd0017d92677"
4SRC_URI[sha256sum] = "a330e10d5cb5e53b3a0078326c5731888bb55e32c4abfeb27d9e7f8e5d000250" 8SRC_URI[sha256sum] = "a330e10d5cb5e53b3a0078326c5731888bb55e32c4abfeb27d9e7f8e5d000250"
5 9