commit | 32bf08a6257b9c7380dcd040af3c0858eee3ef05 | [log] [tgz] |
---|---|---|
author | Alexei Starovoitov <ast@plumgrid.com> | Mon Oct 20 14:54:57 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 21 21:43:46 2014 -0400 |
tree | b5928993937cb9bc095f6c3e0393eb63f6471308 | |
parent | 78fd1d0ab072d4d9b5f0b7c14a1516665170b565 [diff] |
bpf: fix bug in eBPF verifier while comparing for verifier state equivalency the comparison was missing a check for uninitialized register. Make sure it does so and add a testcase. Fixes: f1bca824dabb ("bpf: add search pruning optimization to verifier") Cc: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: Alexei Starovoitov <ast@plumgrid.com> Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>