diff options
author | Barret Rhoden <brho@google.com> | 2023-04-06 20:18:08 -0400 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-04-06 18:48:24 -0700 |
commit | f3f21349779776135349a8e6f114a1485b2476b7 (patch) | |
tree | d5c5e8919f89d2d28eb993df05d35cda7abda779 /kernel/livepatch | |
parent | 4daf0b327f2032ecacd2fb00c46999619f530972 (diff) |
bpf: ensure all memory is initialized in bpf_get_current_comm
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>
Link: https://lore.kernel.org/r/20230407001808.1622968-1-brho@google.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/livepatch')
0 files changed, 0 insertions, 0 deletions