Message ID | 20170331132536.18217-7-john.johansen@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/security/apparmor/mount.c b/security/apparmor/mount.c index 907d3f0..e780181 100644 --- a/security/apparmor/mount.c +++ b/security/apparmor/mount.c @@ -335,6 +335,7 @@ static int match_mnt_path_str(struct aa_profile *profile, const struct path *mnt goto audit; if (IS_ERR(devname)) { error = PTR_ERR(devname); + devname = NULL; info = devinfo; goto audit; }