Files
linux/kernel/bpf
Florent Revest 8e8ee109b0 bpf: Notify user if we ever hit a bpf_snprintf verifier bug
In check_bpf_snprintf_call(), a map_direct_value_addr() of the fmt map
should never fail because it has already been checked by
ARG_PTR_TO_CONST_STR. But if it ever fails, it's better to error out
with an explicit debug message rather than silently fail.

Reported-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Florent Revest <revest@chromium.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210422235543.4007694-2-revest@chromium.org
2021-04-23 09:58:21 -07:00
..
2021-03-18 00:22:51 +01:00
2020-03-13 12:49:52 -07:00
2021-04-19 15:27:36 -07:00
2020-08-28 15:41:30 +02:00
2021-02-12 12:56:53 -08:00
2021-03-18 00:22:51 +01:00