diff options
| author | David Laight <david.laight.linux@gmail.com> | 2026-06-08 10:54:59 +0100 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2026-07-02 12:17:14 +0200 |
| commit | 1501ab0701fdd4571658e5829a2178f1af1f3917 (patch) | |
| tree | 4dcf0a2217d3515a9f6e163496111138d7756e0b /tools/perf/scripts/python/stackcollapse.py | |
| parent | 32b00984e002708d55b3ad3830198d3ba9126e09 (diff) | |
netfilter: avoid strcpy usage
Replacing strcpy() with strscpy() ensures that overflow of the target
buffer cannot happen.
[ fw@strlen.de: cleanup. netlink policy rejects too large inputs,
xt_recent validates content and length before the copy ]
Signed-off-by: David Laight <david.laight.linux@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
