26 lines
1004 B
Plaintext
26 lines
1004 B
Plaintext
|
From: Jeff Mahoney <jeffm@suse.com>
|
||
|
Subject: Subdomain.pm: Fix for null path
|
||
|
References: bnc#407959
|
||
|
|
||
|
When handling the following log entry, logprof will spew perl errors and
|
||
|
ultimately generate an invalid config: "r,"
|
||
|
|
||
|
Since there is nothing to do with a null path, just skip to the next entry.
|
||
|
|
||
|
type=APPARMOR_DENIED msg=audit(1214497030.421:39): operation="inode_permission" info="Failed name resolution - object not a valid entry" requested_mask="r" denied_mask="r" pid=31367 profile="/usr/sbin/httpd2-worker
|
||
|
---
|
||
|
utils/SubDomain.pm | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
--- a/utils/SubDomain.pm
|
||
|
+++ b/utils/SubDomain.pm
|
||
|
@@ -1905,7 +1905,7 @@ sub handlechildren {
|
||
|
$hat = $h;
|
||
|
}
|
||
|
|
||
|
- next unless $profile && $hat;
|
||
|
+ next unless $profile && $hat && $detail;
|
||
|
my $domainchange = ($type eq "exec") ? "change" : "nochange";
|
||
|
|
||
|
# escape special characters that show up in literal paths
|