Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1693708
| From | Edward Cree <ecree@solarflare.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH net 0/2] bpf: fix verifier min/max handling in BPF_SUB |
| Date | 2017-07-21 15:40 +0200 |
| Message-ID | <u5GjT-5qP-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
I managed to come up with a test for the swapped bounds in BPF_SUB, so here it is along with a patch that fixes it, separated out from my 'rewrite everything' series so it can go to -stable. Edward Cree (2): selftests/bpf: subtraction bounds test bpf/verifier: fix min/max handling in BPF_SUB kernel/bpf/verifier.c | 21 +++++++++++++++------ tools/testing/selftests/bpf/test_verifier.c | 28 ++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 6 deletions(-)
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH net 0/2] bpf: fix verifier min/max handling in BPF_SUB Edward Cree <ecree@solarflare.com> - 2017-07-21 15:40 +0200 Re: [iovisor-dev] [PATCH net 0/2] bpf: fix verifier min/max handling in BPF_SUB Nadav Amit <nadav.amit@gmail.com> - 2017-07-21 18:00 +0200 Re: [PATCH net 0/2] bpf: fix verifier min/max handling in BPF_SUB David Miller <davem@davemloft.net> - 2017-07-24 23:10 +0200
csiph-web