summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-11-22 12:54:46 +0100
committerJohn Johansen <john.johansen@canonical.com>2026-01-16 10:46:54 -0800
commit7db8c3c738118b6d9e5c3eb54e352fdae1bb0faf (patch)
tree2454171d77dcdb4df5dba8fb9338cb1c74da206a /tools/perf/scripts/python
parent8f0b4cce4481fb22653697cced8d0d04027cb1e8 (diff)
downloadlinux-7db8c3c738118b6d9e5c3eb54e352fdae1bb0faf.tar.gz
linux-7db8c3c738118b6d9e5c3eb54e352fdae1bb0faf.zip
apparmor: replace sprintf with snprintf in aa_new_learning_profile
Replace unbounded sprintf() calls with snprintf() to prevent potential buffer overflows in aa_new_learning_profile(). While the current code works correctly, snprintf() is safer and follows secure coding best practices. No functional changes. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions