logprof/genprof: glob generates wrong result in some cases
Bug #1181812 reported by
Christian Boltz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
From a logprof run:
I used "glob with (e)xt" until I had
4 - /home/**.jpg
[5 - /**.jpg]
After that, I pressed "(g)lob", which resulted in
4 - /home/**.jpg
5 - /**.jpg
[6 - /*]
Option 6 should be /**, not /*
To post a comment you must log in.
Yes, this issue is mentioned as comments in the code in AppArmor.pm (line 3876) .
The programmer left a comment: # do we collapse to /* or /**
So apparently making this choice isn't a part of the code. Additional code has to be devised to identify this situation.