commit | faa9560ae76ef50a3cbfb1a6afc0343fd8172374 | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Wed Aug 18 12:25:49 2010 -0400 |
committer | Eric Paris <eparis@redhat.com> | Sun Aug 22 20:09:41 2010 -0400 |
tree | b62dcdece22b214d0e0c75848b4d02b8e9923d0c | |
parent | 3dc8d7f07e7496c0c6702e7e4b1acc179fa94019 [diff] |
fanotify: do not dereference inode_mark when it is unset The fanotify code is supposed to get the group from the mark. It accidentally only used the inode_mark. If the vfsmount_mark was set but not the inode_mark it would deref the NULL inode_mark. Get the group from the correct place. Reported-by: Tvrtko Ursulin <tvrtko.ursulin@sophos.com> Signed-off-by: Eric Paris <eparis@redhat.com>