Loading
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>