9
0
Fork 0
barebox/fs/fat
Franck Jullien 186d926c23 fs/fat: Initialize local variable finfo
fat_stat in fs/fat.c declares finfo but doesn't initialize it.
When get_fileinfo is called, fno->lfname and fno->lfsize are
tested but haven't been zeroed...This can lead to a wrong
behavior.

Signed-off-by: Franck Jullien <franck.jullien@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-11-17 16:59:29 +01:00
..
Kconfig fs: add fat filesystem support 2011-04-12 09:54:56 +02:00
Makefile fs: add fat filesystem support 2011-04-12 09:54:56 +02:00
diskio.h fs: add fat filesystem support 2011-04-12 09:54:56 +02:00
fat.c fs/fat: Initialize local variable finfo 2011-11-17 16:59:29 +01:00
ff.c fs/fat/ff.c: fix 'no previous prototype' warnings 2011-08-03 17:55:42 +02:00
ff.h fs: add fat filesystem support 2011-04-12 09:54:56 +02:00
ffconf.h fs: add fat filesystem support 2011-04-12 09:54:56 +02:00
integer.h fs: add fat filesystem support 2011-04-12 09:54:56 +02:00