mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 22:05:27 +00:00
'name' gets used in the error message. Make sure it only gets freed afterwards. This bug was introduced inbe0d2fa947
/ https://gitlab.com/apparmor/apparmor/-/merge_requests/727 Fixes coverity CID 254465: Memory - illegal accesses (USE_AFTER_FREE) I propose this fix for 3.0..master. MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1040 Approved-by: Georgia Garcia <georgia.garcia@canonical.com> Merged-by: John Johansen <john@jjmx.net> (cherry picked from commit8d6358fa6d
) Signed-off-by: John Johansen <john.johansen@canonical.com>
The apparmor_parser allows you to add, replace, and remove AppArmor policy through the use of command line options. The default is to add. `apparmor_parser --help` shows what the command line options are. You can also find more information at https://wiki.apparmor.net -- The AppArmor development team