[apparmor] [patch 1/5] parser: add large number of alternations test case

Seth Arnold seth.arnold at canonical.com
Fri Dec 13 00:41:26 UTC 2013


On Mon, Dec 09, 2013 at 12:44:16PM -0800, Steve Beattie wrote:
> This patch adds a test case with an extremely large set of alternations.
> It is marked TODO, because it fails with the current parser due to
> strings used in convert_aaregex_to_pcre() being limited to (roughly)
> PATH_MAX.
> 
> While contrived, it is possible to have alternations that are longer
> than PATH_MAX that always  match paths that are shorter than PATH_MAX.
> 
> Signed-off-by: Steve Beattie <steve at nxnw.org>

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/20131212/cc70a613/attachment.pgp>


More information about the AppArmor mailing list