diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-11-22 12:54:46 +0100 |
|---|---|---|
| committer | John Johansen <john.johansen@canonical.com> | 2026-01-16 10:46:54 -0800 |
| commit | 7db8c3c738118b6d9e5c3eb54e352fdae1bb0faf (patch) | |
| tree | 2454171d77dcdb4df5dba8fb9338cb1c74da206a /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 8f0b4cce4481fb22653697cced8d0d04027cb1e8 (diff) | |
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 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
