← Back to team overview

touch-packages team mailing list archive

[Bug 1350324] Re: Incorrect warning with ubuntu-scope-network template: Character - was quoted unnecessarily, dropped preceding quote ('\') character

 

Some quick notes from an initial poke.

It looks like there may be an ordering error in how character classes are parsed in libapparmor_re/parse.y
the rule for charset (line 124-128) seem wrong to me. It needs a closer look anyway

The other problem is in parser_regex.y, which isn't allow \- in a
character class

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/1350324

Title:
  Incorrect warning with ubuntu-scope-network template: Character - was
  quoted unnecessarily, dropped preceding quote ('\') character

Status in “apparmor” package in Ubuntu:
  New

Bug description:
  $ cat /tmp/profile 
  profile "foo" {
    owner /run/user/[0-9]*/zmq/{[^c]**,c[^\-]**}-r          rw,
  }

  $ apparmor_parser -QTK /tmp/profile 
  Warning from /tmp/profile (/tmp/profile line 4): Character - was quoted unnecessarily, dropped preceding quote ('\') character

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1350324/+subscriptions


References