On Fri, Aug 12, 2016 at 11:02:11PM +0200, Christian Boltz wrote: > Hello, > > if the audit.log contains an event for a non-existing profile (this can > happen when running with a foreign log or if the user manually deleted a > profile or hat), propose_file_rules() crashes because rule_obj is None > instead of a profile_storage() struct. > > This patch adds a check that skips events for non-existing profiles and > hats. > > Note: I'm quite sure this happens only for file events (because the > other rule types don't have something similar to propose_file_rules(), > therefore no backport to older versions is needed. > > [ 26-avoid-logprof-crash-on-nonexisting-profiles.diff ]
Acked-by: Steve Beattie <[email protected]>. Thanks. -- Steve Beattie <[email protected]> http://NxNW.org/~steve/
signature.asc
Description: PGP signature
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
