mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 22:35:35 +00:00
fix bnc#407491, where a solatary / is not properly handled by the utils
The / is stripped and permission is prompted for a "" path.
This commit is contained in:
@@ -6574,7 +6574,7 @@ sub parse_event($) {
|
||||
|
||||
# remove null responses
|
||||
for (keys(%ev)) {
|
||||
if ( ! $ev{$_} || $ev{$_} !~ /\w+/) { delete($ev{$_}); }
|
||||
if ( ! $ev{$_} || $ev{$_} !~ /[\/\w]+/) { delete($ev{$_}); }
|
||||
}
|
||||
|
||||
if ( $ev{'sdmode'} ) {
|
||||
|
Reference in New Issue
Block a user