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 1ffe30e commit f3c2d24Copy full SHA for f3c2d24
kernel/bpf/verifier.c
@@ -19340,8 +19340,10 @@ static int do_check(struct bpf_verifier_env *env)
19340
return err;
19341
break;
19342
} else {
19343
- if (WARN_ON_ONCE(env->cur_state->loop_entry))
19344
- 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");
19345
+ return -EFAULT;
19346
+ }
19347
do_print_state = true;
19348
continue;
19349
}
0 commit comments