diff options
author | Christoph Hellwig <hch@tuxera.com> | 2011-02-16 09:34:22 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2011-06-30 13:40:59 +0200 |
commit | 4ba2d5fdcfd19de0dedf394ddc48db2f219fa89a (patch) | |
tree | 5f90b4f4c98f54528e65c81a531bdc829c1efd17 /firmware | |
parent | bf1a1b31fa3ea24e3a90821d69a5c3da066f7d6c (diff) | |
download | blackbird-op-linux-4ba2d5fdcfd19de0dedf394ddc48db2f219fa89a.tar.gz blackbird-op-linux-4ba2d5fdcfd19de0dedf394ddc48db2f219fa89a.zip |
hfsplus: fix overflow in hfsplus_read_wrapper
For partitions larger than 2TB or at such an offset the hfs wrapper code
in hfsplus might overflow the range representable in a 32-bit
data type. Make sure we use a sector_t for the arithmetics leading to it.
I'm not sure this code can be readed at all as hfs itself never supported
such large volumes.
Signed-off-by: Christoph Hellwig <hch@tuxera.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions