Thread (6 messages) 6 messages, 3 authors, 2020-10-28

Re: [PATCH 1/2] tools, bpftool: Avoid array index warnings.

flat view

From: Tobias Klauser <tklauser@distanz.ch>
Date: 2020-10-28 23:14:35
Also in: bpf, lkml

On 2020-10-28 at 00:36:45 +0100, Ian Rogers [off-list ref] wrote:
The bpf_caps array is shorter without CAP_BPF, avoid out of bounds reads
if this isn't defined. Working around this avoids -Wno-array-bounds with
clang.

Signed-off-by: Ian Rogers <irogers@google.com>
Reviewed-by: Tobias Klauser <tklauser@distanz.ch>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help