diff options
author | Jann Horn <jann@thejh.net> | 2015-08-16 21:27:01 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-08-16 22:35:44 +0300 |
commit | 8ed1f0e22f49ef42e63875fd2529389a32ff3566 (patch) | |
tree | 9f388d7ec994747b8703d371b49e1e27921b2533 /usr | |
parent | 1efdb5f0a9243ca8f3460a5ce1b407b06a021f02 (diff) | |
download | linux-8ed1f0e22f49ef42e63875fd2529389a32ff3566.tar.xz |
fs/fuse: fix ioctl type confusion
fuse_dev_ioctl() performed fuse_get_dev() on a user-supplied fd,
leading to a type confusion issue. Fix it by checking file->f_op.
Signed-off-by: Jann Horn <jann@thejh.net>
Acked-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions