summaryrefslogtreecommitdiff
path: root/fs/fs_struct.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2020-04-30 23:38:11 +0200
committerDavid Sterba <dsterba@suse.com>2020-05-25 11:25:32 +0200
commit5e3946890c184a17b4d74baec89c96dce518f002 (patch)
tree602b0d8827e12450997f4938f35e4d65e8f5ce69 /fs/fs_struct.c
parent870b388db02cac33eebe40a1cbeb056cf13e9f40 (diff)
btrfs: add separate bounds checker for set/get helpers
The bounds checking is now done in map_private_extent_buffer but that will be removed in following patches and some sanity checks should still be done. There are two separate checks to see the kind of out of bounds access: partial (start offset is in the buffer) or complete (both start and end are out). Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/fs_struct.c')
0 files changed, 0 insertions, 0 deletions