Re: bpf: ensure all memory is initialized in bpf_get_current_comm

Alexei Starovoitov
2023-04-06T23:00:46Z

On Wed, Apr 5, 2023 at 3:53 PM Barret Rhoden <brho@google.com> wrote:
>
> BPF helpers that take an ARG_PTR_TO_UNINIT_MEM must ensure that all of
> the memory is set, including beyond the end of the string.
>
> Signed-off-by: Barret Rhoden <brho@google.com>

The patch looks fine, but please rebase to bpf-next and resubmit
with [PATCH bpf-next] subj, so it goes through BPF CI.

See Documentation/bpf/bpf_devel_QA.rst