commit | ea1d1ca4025ac6c075709f549f9aa036b5b6597d | [log] [tgz] |
---|---|---|
author | Su Yue <l@damenly.su> | Fri Jan 21 17:33:35 2022 +0800 |
committer | David Sterba <dsterba@suse.com> | Mon Jan 31 16:06:04 2022 +0100 |
tree | 707813b8ac12b70259eb190128727e92ed8bbce7 | |
parent | 0c982944af27d131d3b74242f3528169f66950ad [diff] |
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>