convert_regexp() produces invalid regex from /[0-9*]

Bug #1523272 reported by Christian Boltz
6
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)

Tags: aa-tools
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.