[apparmor] [patch 05/12] parser: fix alternation expansions that occur inside character classes

Seth Arnold seth.arnold at canonical.com
Tue Dec 10 01:07:50 UTC 2013


On Tue, Dec 03, 2013 at 12:12:21PM -0800, Steve Beattie wrote:
> The parser was converting alternation characters ('{', '}', and ',')
> to their pcre versions ('(', ')', and '|', respectively) that occurred
> inside of character class patterns (i.e. inside '[ ]'). This patch
> fixes the issue and adds a few unit tests around character classes.
> 
> Signed-off-by: Steve Beattie <steve at nxnw.org>

Heh, nice find, I'm curious how this was spotted. :)

Acked-by: Seth Arnold <seth.arnold at canonical.com>

Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20131209/4e2242af/attachment.pgp>


More information about the AppArmor mailing list