aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2019-12-04 21:54:19 -0800
committerDavid S. Miller <[email protected]>2019-12-05 14:45:19 -0800
commit0033b34a03ec5cf747cdaf9b1f9dceb91c020f17 (patch)
tree299f3f47c09c1e21245194204662b96bb73ef6a1 /tools/perf/util/trace-event-scripting.c
parenta116f4e238cc20dfbac30c65949752798f5b6efa (diff)
ppp: fix out-of-bounds access in bpf_prog_create()
sock_fprog_kern::len is in units of struct sock_filter, not bytes. Fixes: 3e859adf3643 ("compat_ioctl: unify copy-in of ppp filters") Reported-by: [email protected] Signed-off-by: Eric Biggers <[email protected]> Reviewed-by: Arnd Bergmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions