aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorSu Yue <[email protected]>2022-01-21 09:33:35 +0000
committerDavid Sterba <[email protected]>2022-01-31 15:06:04 +0000
commitea1d1ca4025ac6c075709f549f9aa036b5b6597d (patch)
tree707813b8ac12b70259eb190128727e92ed8bbce7 /lib/string_helpers.c
parentbtrfs: tree-checker: check item_size for inode_item (diff)
downloadkernel-ea1d1ca4025ac6c075709f549f9aa036b5b6597d.tar.gz
kernel-ea1d1ca4025ac6c075709f549f9aa036b5b6597d.zip
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 <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions