summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/vs6624.c
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2019-09-03 02:46:19 +0300
committerDavid Sterba <dsterba@suse.com>2019-11-18 19:51:48 +0300
commit153a6d299956983de890ffaf429e5904503eb94c (patch)
tree3d4da74f2198c9593139674bb7002c13cefbd2fa /drivers/media/i2c/vs6624.c
parent3ec17a67cc340b7b0353d7ac6d2746dcf8983b43 (diff)
downloadlinux-153a6d299956983de890ffaf429e5904503eb94c.tar.xz
btrfs: tree-checker: Check item size before reading file extent type
In check_extent_data_item(), we read file extent type without verifying if the item size is valid. Add such check to ensure the file extent type we read is correct. The check is not as accurate as we need to cover both inline and regular extents, so it only checks if the item size is larger or equal to inline header. So the existing size checks on inline/regular extents are still needed. Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'drivers/media/i2c/vs6624.c')
0 files changed, 0 insertions, 0 deletions