Parser error when using regex profile names in IPC rules
Bug #1373085 reported by
Felix Geyer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Fix Released
|
High
|
John Johansen |
Bug Description
I tried to add this rule to the firefox profile:
unix (send, receive) type=stream peer=(label=
apparmor_parser fails with:
syntax error, unexpected TOK_CONDID, expecting TOK_EQUALS or TOK_IN
When I add quotes around the label the parser fails with:
Found unexpected character: '"'
I found this minimal test case:
unix peer=(label=\{,\}),
and
unix peer=(label=
Changed in apparmor (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in apparmor (Ubuntu): | |
assignee: | nobody → John Johansen (jjohansen) |
milestone: | none → ubuntu-14.10 |
Changed in apparmor (Ubuntu): | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Tested with apparmor 2.8.96~ 2652-0ubuntu5.