The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / grep / 0001-fix-CVE-2015-1345.patch
1 Simplified patch from upstream to avoid autoreconf. Source:
2 http://git.savannah.gnu.org/cgit/grep.git/commit/?id=83a95bd8c8561875b948cadd417c653dbe7ef2e2
3
4 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
5 ---
6 diff --git a/src/kwset.c b/src/kwset.c
7 index 4003c8d..376f7c3 100644
8 --- a/src/kwset.c
9 +++ b/src/kwset.c
10 @@ -643,6 +643,8 @@ bmexec_trans (kwset_t kwset, char const *text, size_t size)
11                      if (! tp)
12                        return -1;
13                      tp++;
14 +                    if (ep <= tp)
15 +                      break;
16                    }
17                }
18            }
19 --
20 cgit v0.9.0.2