]> git.sur5r.net Git - u-boot/commit
FAT: get_fatent: Fix FAT boundary check
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Fri, 20 Jul 2012 13:19:29 +0000 (15:19 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 2 Sep 2012 15:14:30 +0000 (17:14 +0200)
commit8006dd2e57a9b30ff1c978e76c0dcd28d9786ce8
tree601322e517bf6e9805d4e37d410da8e85ff4be6d
parent9795e07b04d8563c181352fd2839643b066a830c
FAT: get_fatent: Fix FAT boundary check

startblock must be taken into account in order not to read past the
end of the FAT.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Wolfgang Denk <wd@denx.de>
fs/fat/fat.c