mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-01 06:45:38 +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
|
# consistently passed
|
||||||
my $prog = "HINT";
|
my $prog = "HINT";
|
||||||
|
|
||||||
|
return if ( !profile_exists($profile) );
|
||||||
|
|
||||||
if ($e->{operation} eq "exec") {
|
if ($e->{operation} eq "exec") {
|
||||||
add_to_tree( $e->{pid},
|
add_to_tree( $e->{pid},
|
||||||
"exec",
|
"exec",
|
||||||
|
Reference in New Issue
Block a user