aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/apparmor/policy_unpack.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/security/apparmor/policy_unpack.c b/security/apparmor/policy_unpack.c
index 741dd13e089b..5c46acf5aa65 100644
--- a/security/apparmor/policy_unpack.c
+++ b/security/apparmor/policy_unpack.c
@@ -554,6 +554,8 @@ static struct aa_profile *unpack_profile(struct aa_ext *e)
554 goto fail; 554 goto fail;
555 if (!unpack_u32(e, &(profile->caps.extended.cap[1]), NULL)) 555 if (!unpack_u32(e, &(profile->caps.extended.cap[1]), NULL))
556 goto fail; 556 goto fail;
557 if (!unpack_nameX(e, AA_STRUCTEND, NULL))
558 goto fail;
557 } 559 }
558 560
559 if (!unpack_rlimits(e, profile)) 561 if (!unpack_rlimits(e, profile))