summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/struct-funcs.c
diff options
context:
space:
mode:
authorSu Yue <l@damenly.su>2022-01-21 17:33:35 +0800
committerDavid Sterba <dsterba@suse.com>2022-01-31 16:06:04 +0100
commitea1d1ca4025ac6c075709f549f9aa036b5b6597d (patch)
tree707813b8ac12b70259eb190128727e92ed8bbce7 /fs/btrfs/struct-funcs.c
parent0c982944af27d131d3b74242f3528169f66950ad (diff)
downloadlinux-ea1d1ca4025ac6c075709f549f9aa036b5b6597d.tar.bz2
btrfs: tree-checker: check item_size for dev_item
Check item size before accessing the device item to avoid out of bound access, similar to inode_item check. Signed-off-by: Su Yue <l@damenly.su> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/struct-funcs.c')
0 files changed, 0 insertions, 0 deletions