Skip to content
Commit ea1d1ca4 authored by Su Yue's avatar Su Yue Committed by David Sterba
Browse files

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: default avatarSu Yue <l@damenly.su>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 0c982944
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment