On Thu, Feb 08, 2018 at 04:04:37PM -0800, John Johansen wrote: > > If this step fails before completion, the xattrs array may have some > > entries that weren't properly initialized; I suspect the free operation > > will cause serious trouble in this case. > > > yep we can switch the kmalloc_array for a kcalloc, and that will fix it >
Ah I like the sound of that better than zeroing the arrays manually. With this change, Acked-by: Seth Arnold <seth.arn...@canonical.com> Thanks
signature.asc
Description: PGP signature
-- AppArmor mailing list AppArmor@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor