diff options
author | Aaron Williams <aaron.williams@caviumnetworks.com> | 2012-05-19 07:20:40 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-05-22 10:14:05 +0200 |
commit | 1d90c3b457a64aa339aa900199e519ff08440778 (patch) | |
tree | 87ef15113c732a1c73d0ec885d7edcc48fd161e5 /net | |
parent | a075a79f98cc3f5972a2ed80551c0873217aef7d (diff) | |
download | u-boot-imx-1d90c3b457a64aa339aa900199e519ff08440778.zip u-boot-imx-1d90c3b457a64aa339aa900199e519ff08440778.tar.gz u-boot-imx-1d90c3b457a64aa339aa900199e519ff08440778.tar.bz2 |
fat: fix FAT sector offsets overflow on large FAT partitions
This patch fixes several issues where sector offsets can overflow due
to being limited to 16-bits. The cases where an overflow can happen
when accessing large FAT32 partitions are:
- length of FAT in sectors
- start sector of root directory
- the sector of the first cluster
These issues were observed when reading files from a 64GB FAT32
filesystem.
Signed-off-by: Aaron Williams <aaron.williams@caviumnetworks.com>
Tested-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions