[apparmor] [patch] fix "Invalid mode found: /usr/lib64/firefox/firefox.sh"
Steve Beattie
steve at nxnw.org
Mon Oct 13 22:48:35 UTC 2014
On Sun, Oct 12, 2014 at 08:31:42PM +0200, Christian Boltz wrote:
> you probably heard of Stallmanu's strange crash with
> Invalid mode found: /usr/lib64/firefox/firefox.sh
> on IRC.
>
> After several hours of debugging and flooding paste.opensuse.org ;-)
> I finally found the reason - reading(!) from log_dict with a wrong
> parameter caused the creation of that strange mode in log_dict.keys().
>
> While finding that bug was very hard, the fix is easy - just replace
> "profile" with "aamode". (That probably makes one char per hour of
> debugging...)
>
> To improve that ratio, also add a warning to common.py so that this
> interesting[tm] behaviour of hasher() is at least documented.
Acked-by: Steve Beattie <steve at nxnw.org>
Thanks!
--
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: <https://lists.ubuntu.com/archives/apparmor/attachments/20141013/00095410/attachment.pgp>
More information about the AppArmor
mailing list