fuse: readdirplus: sanity checks
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 17 Jul 2013 12:53:53 +0000 (14:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 28 Jul 2013 23:30:08 +0000 (16:30 -0700)
commit223828d8a6ef53f7671351fe5d08f18dca714830
tree6a450f60b7fae6d7d37aab0637719f0cecfe7df9
parentdc2a6c2d3e9a2529b3ffc70c165cbb10c85768f5
fuse: readdirplus: sanity checks

commit a28ef45cbb1e7fadd5159deb17b02de15c6e4aaf upstream.

Add sanity checks before adding or updating an entry with data received
from readdirplus.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/fuse/dir.c