summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2025-01-13 09:18:39 +0300
committerJakub Kicinski <kuba@kernel.org>2025-01-14 14:55:25 -0800
commit16ebb6f5b6295c9688749862a39a4889c56227f8 (patch)
treec3277f7fff024b22bb46a6bd399721eb1e8bb16f /scripts/gdb/linux/timerlist.py
parentf62bb88782ffc2d8b619ac781ca26582b00c4db6 (diff)
nfp: bpf: prevent integer overflow in nfp_bpf_event_output()
The "sizeof(struct cmsg_bpf_event) + pkt_size + data_size" math could potentially have an integer wrapping bug on 32bit systems. Check for this and return an error. Fixes: 9816dd35ecec ("nfp: bpf: perf event output helpers support") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://patch.msgid.link/6074805b-e78d-4b8a-bf05-e929b5377c28@stanley.mountain Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions