summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSu Yue2017-06-06 11:57:05 +0200
committerDavid Sterba2017-06-21 19:16:04 +0200
commit59b0a7f2c7c1bf374db319fcc2c99305133d00d5 (patch)
tree787cda8c020a0ec7455e45fd015fc21fac3ed89c /Makefile
parentbtrfs: Check name_len in btrfs_check_ref_name_override (diff)
downloadkernel-qcow2-linux-59b0a7f2c7c1bf374db319fcc2c99305133d00d5.tar.gz
kernel-qcow2-linux-59b0a7f2c7c1bf374db319fcc2c99305133d00d5.tar.xz
kernel-qcow2-linux-59b0a7f2c7c1bf374db319fcc2c99305133d00d5.zip
btrfs: Check name_len before read in iterate_dir_item
Since iterate_dir_item checks name_len in its own way, so use btrfs_is_name_len_valid not 'verify_dir_item' to make more strict name_len check. Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com> Reviewed-by: David Sterba <dsterba@suse.com> [ switched ENAMETOOLONG to EIO ] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions