[pkg-apparmor] Bug#715640: [Mayhem] Bug report on apparmor: apparmor_parser crashes with exit status 139

Steve Beattie sbeattie at ubuntu.com
Wed Oct 29 21:43:26 UTC 2014


Hi,

On Wed, Oct 29, 2014 at 08:24:38PM +0100, Christian Boltz wrote:
> I just tried to reproduce this bug with AppArmor 2.9 (on openSUSE ;-)
> 
> The parser doesn't crash anymore:
> 
> ./crash.sh 
> Warning from stdin (line 1): /sbin/apparmor_parser: cannot use or update cache, disable, or force-complain via stdin
> AppArmor parser error, in stdin line 1: syntax error, unexpected $end, expecting TOK_OPEN

A simpler test case is:

  apparmor_parser --subdomainfs anyarg

This was fixed in apparmor trunk in
http://bazaar.launchpad.net/~apparmor-dev/apparmor/master/revision/2129
but is still outstanding in apparmor 2.8. I'm not sure it warrants
fixing there, unless someone has a need for a 2.8.5 release, and
even then, it's pretty marginal (not many users of the subdomainfs
argument).

That said, the fix can easily be cherry-picked; we could commit it
to 2.8 so that it does not get forgotten if a 2.8.5 release were to
come about.

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-apparmor-team/attachments/20141029/46575c6e/attachment.sig>


More information about the pkg-apparmor-team mailing list