]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: add test for mixed signed and unsigned bounds checks
authorEdward Cree <ecree@solarflare.com>
Thu, 20 Jul 2017 22:00:24 +0000 (00:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Jul 2017 22:20:27 +0000 (15:20 -0700)
commita986b8c9fde6e80417502026af05e96fc3650945
tree388161638f63429c33566ff41b6ef3b5d9f3179a
parent31c2bdabd2bfc5fe4fe0a65c3a944b7503be1227
bpf: add test for mixed signed and unsigned bounds checks

These failed due to a bug in verifier bounds handling.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/bpf/test_verifier.c