diff options
author | David Sterba <[email protected]> | 2020-04-30 23:38:11 +0200 |
---|---|---|
committer | David Sterba <[email protected]> | 2020-05-25 11:25:32 +0200 |
commit | 5e3946890c184a17b4d74baec89c96dce518f002 (patch) | |
tree | 602b0d8827e12450997f4938f35e4d65e8f5ce69 /drivers/usb/cdns3/cdns3-pci-wrap.c | |
parent | 870b388db02cac33eebe40a1cbeb056cf13e9f40 (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 <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions