aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorJann Horn <[email protected]>2017-12-18 20:11:59 -0800
committerDaniel Borkmann <[email protected]>2017-12-21 02:15:41 +0100
commit179d1c5602997fef5a940c6ddcf31212cbfebd14 (patch)
tree67a91e768530270c4ba22747afde33fc23b40cf1 /lib/test_overflow.c
parenta5ec6ae161d72f01411169a938fa5f8baea16e8f (diff)
bpf: don't prune branches when a scalar is replaced with a pointer
This could be made safe by passing through a reference to env and checking for env->allow_ptr_leaks, but it would only work one way and is probably not worth the hassle - not doing it will not directly lead to program rejection. Fixes: f1174f77b50c ("bpf/verifier: rework value tracking") Signed-off-by: Jann Horn <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions