We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdee1dc commit 80eb737Copy full SHA for 80eb737
kernel/bpf/verifier.c
@@ -18721,8 +18721,10 @@ static int do_check(struct bpf_verifier_env *env)
18721
return err;
18722
break;
18723
} else {
18724
- if (WARN_ON_ONCE(env->cur_state->loop_entry))
18725
- env->cur_state->loop_entry = NULL;
+ if (WARN_ON_ONCE(env->cur_state->loop_entry)) {
+ verbose(env, "verifier bug: env->cur_state->loop_entry != NULL\n");
18726
+ return -EFAULT;
18727
+ }
18728
do_print_state = true;
18729
continue;
18730
}
0 commit comments