convert_regexp() produces invalid regex from /[0-9*]
Bug #1523272 reported by
Christian Boltz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
New
|
Undecided
|
Unassigned |
Bug Description
/foo {
/[0-9*] r,
}
will crash the tools with an "Invalid Regex" error. The problem is the * inside the [...]. It should _not_ be escaped/replaced by convert_regexp().
(reported by Stallmanu on IRC, who found that interesting[tm] regex in the docker-default profile)
To post a comment you must log in.