diff options
author | Yan, Zheng <[email protected]> | 2011-08-29 09:25:53 +0800 |
---|---|---|
committer | David Sterba <[email protected]> | 2011-10-20 18:10:31 +0200 |
commit | 84850e8d8a5ec7b9d3c47d224e9a10c9da52ff1b (patch) | |
tree | 799dd9e0b150361dc2a5cdf3772a0ce8395d5f06 /lib/string_helpers.c | |
parent | 016fc6a63e465d5b94e4028f6d05d9703e195428 (diff) |
btrfs: check file extent backref offset underflow
Offset field in data extent backref can underflow if clone range ioctl
is used. We can reliably detect the underflow because max file size is
limited to 2^63 and max data extent size is limited by block group size.
Signed-off-by: Zheng Yan <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions