diff options
| author | Andrii Nakryiko <[email protected]> | 2021-11-23 16:23:20 -0800 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2021-11-26 00:15:03 +0100 |
| commit | 3bd0233f388e061c44d36a1ac614a3bb4a851b7e (patch) | |
| tree | dac7834cbccc83310aa9c8a2d15b42f4c296ead2 /tools/perf/scripts/python/sctop.py | |
| parent | 486e648cb2f170702fc05f777c7b6b3d8ec662ce (diff) | |
selftests/bpf: Fix possible NULL passed to memcpy() with zero size
Prevent sanitizer from complaining about passing NULL into memcpy(),
even if it happens with zero size.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions