]> git.baikalelectronics.ru Git - uboot.git/commit
fs: fix FAT name extraction
authorPatrick Wildt <patrick@blueri.se>
Mon, 26 Nov 2018 14:58:13 +0000 (15:58 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 7 Dec 2018 04:26:31 +0000 (23:26 -0500)
commit8bb7fd9e0252b1b8a9c66d2b5cad3abc03e8af4a
tree50f380576eabd45be9304c61fe2e6fe0bcb7d9f0
parent5e70383e131df8dd231542fc668a31c16b39b9e2
fs: fix FAT name extraction

The long name apparently can be accumulated using multiple
13-byte slots.  Unfortunately we never checked how many we
can actually fit in the buffer we are reading to.

Signed-off-by: Patrick Wildt <patrick@blueri.se>
fs/fat/fat.c