diff options
author | Eric Paris <eparis@redhat.com> | 2010-08-18 12:25:49 -0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-08-22 20:09:41 -0400 |
commit | faa9560ae76ef50a3cbfb1a6afc0343fd8172374 (patch) | |
tree | b62dcdece22b214d0e0c75848b4d02b8e9923d0c /lib | |
parent | 3dc8d7f07e7496c0c6702e7e4b1acc179fa94019 (diff) | |
download | linux-faa9560ae76ef50a3cbfb1a6afc0343fd8172374.tar.gz linux-faa9560ae76ef50a3cbfb1a6afc0343fd8172374.tar.bz2 linux-faa9560ae76ef50a3cbfb1a6afc0343fd8172374.zip |
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions