Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
btrfs: tree-checker: check item_size for dev_item
commit ea1d1ca upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information