aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorPeter Seiderer <[email protected]>2025-02-19 08:45:27 +0000
committerJakub Kicinski <[email protected]>2025-02-21 01:24:56 +0000
commit425e64440ad0a2f03bdaf04be0ae53dededbaa77 (patch)
tree251e5ed2c61173e205a481281e3c1b80afbbe157 /tools/testing/selftests/net/lib/py/utils.py
parentnet: pktgen: fix ctrl interface command parsing (diff)
downloadkernel-425e64440ad0a2f03bdaf04be0ae53dededbaa77.tar.gz
kernel-425e64440ad0a2f03bdaf04be0ae53dededbaa77.zip
net: pktgen: fix access outside of user given buffer in pktgen_thread_write()
Honour the user given buffer size for the strn_len() calls (otherwise strn_len() will access memory outside of the user given buffer). Signed-off-by: Peter Seiderer <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions