1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-12-28 23:07:09 +01:00
Files
u-boot-megous/fs
Stefano Babic 11c8dd36ed FAT: buffer overflow with FAT12/16
Last commit 3831530dcb was intended
"explicitly specify FAT12/16 root directory parsing buffer size, instead
of relying on cluster size". Howver, the underlying function requires
the size of the buffer in blocks, not in bytes, and instead of passing
a double sector size a request for 1024 blocks is sent. This generates
a buffer overflow with overwriting of other structure (in the case seen,
USB structures were overwritten).

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Mikhail Zolotaryov <lebon@lebon.org.ua>
2010-10-20 09:14:38 +02:00
..
2010-10-20 09:14:38 +02:00
2010-03-31 15:13:31 +02:00
2008-08-21 14:05:33 -05:00