X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-integ%2Frecipes-devtools%2Fruby%2Fruby%2Fruby-CVE-2017-9226.patch;fp=meta-starlingx%2Fmeta-stx-integ%2Frecipes-devtools%2Fruby%2Fruby%2Fruby-CVE-2017-9226.patch;h=0000000000000000000000000000000000000000;hb=6fc6934434f70595536a387ece31bc30141cafb5;hp=3ea2450b3622c23a1b181ecb3159d5977fce1e76;hpb=eb1e26510491ba49de693ab3b0498edcb06be6c5;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-integ/recipes-devtools/ruby/ruby/ruby-CVE-2017-9226.patch b/meta-starlingx/meta-stx-integ/recipes-devtools/ruby/ruby/ruby-CVE-2017-9226.patch deleted file mode 100644 index 3ea2450..0000000 --- a/meta-starlingx/meta-stx-integ/recipes-devtools/ruby/ruby/ruby-CVE-2017-9226.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -Nurpd a/regparse.c b/regparse.c ---- a/regparse.c 2020-04-03 10:48:05.349134180 -0700 -+++ b/regparse.c 2020-04-03 10:55:16.647309795 -0700 -@@ -4412,9 +4412,11 @@ next_state_val(CClassNode* cc, OnigCodeP - - switch (*state) { - case CCS_VALUE: -- if (*type == CCV_SB) -+ if (*type == CCV_SB) { -+ if (*from > 0xff) -+ return ONIGERR_INVALID_CODE_POINT_VALUE; - BITSET_SET_BIT_CHKDUP(cc->bs, (int )(*vs)); -- else if (*type == CCV_CODE_POINT) { -+ } else if (*type == CCV_CODE_POINT) { - r = add_code_range(&(cc->mbuf), env, *vs, *vs); - if (r < 0) return r; - }