Message ID | 20170331132536.18217-12-john.johansen@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/security/apparmor/file.c b/security/apparmor/file.c index 95bb2eb..69eed1c 100644 --- a/security/apparmor/file.c +++ b/security/apparmor/file.c @@ -374,7 +374,7 @@ static int profile_path_link(struct aa_profile *profile, struct path_cond *cond) { const char *lname, *tname = NULL; - struct aa_perms lperms, perms; + struct aa_perms lperms = {}, perms; const char *info = NULL; u32 request = AA_MAY_LINK; unsigned int state;