2
0
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:
John Johansen
2008-11-21 12:57:08 +00:00
parent 39343c8675
commit 4c3df3ae53

View File

@@ -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'} ) {