diff options
| author | Peter Seiderer <[email protected]> | 2025-02-19 08:45:27 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-02-21 01:24:56 +0000 |
| commit | 425e64440ad0a2f03bdaf04be0ae53dededbaa77 (patch) | |
| tree | 251e5ed2c61173e205a481281e3c1b80afbbe157 /tools/testing/selftests/net/lib/py/utils.py | |
| parent | net: pktgen: fix ctrl interface command parsing (diff) | |
| download | kernel-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
