escape() in aa.py is broken
Bug #1593324 reported by
Jakub Wilk
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Fix Released
|
Undecided
|
Christian Boltz |
Bug Description
The escape() function in utils/apparmor/
It tries to use a malformed regular expression, resulting in:
sre_
The function doesn't seem to be used anywhere, so it should be probably removed.
This bug was found using pydiatra:
http://
Changed in apparmor: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks for the report!
You are right that the function is unused (I have a
raise Exception("dead code walking")
in it since some months ;-) and grep also didn't bring up any usage of it)
I just sent a patch to the mailinglist that removes the function.