mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 06:16:03 +00:00
Don't process events for profiles that no longer exist.
This commit is contained in:
@@ -1782,6 +1782,8 @@ sub add_audit_event_to_tree ( $$ ) {
|
||||
# consistently passed
|
||||
my $prog = "HINT";
|
||||
|
||||
return if ( !profile_exists($profile) );
|
||||
|
||||
if ($e->{operation} eq "exec") {
|
||||
add_to_tree( $e->{pid},
|
||||
"exec",
|
||||
|
Reference in New Issue
Block a user