Re: bpf: ensure all memory is initialized in bpf_get_current_comm
From: Alexei Starovoitov
Date: Thu Apr 06 2023 - 19:00:46 EST
On Wed, Apr 5, 2023 at 3:53 PM Barret Rhoden <brho@xxxxxxxxxx> 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@xxxxxxxxxx>
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