kernel-ark/fs/fat
Namjae Jeon d533df07c2 fat: fix bug in enforcing Long File Name length
Since '*outlen' is initialized to zero, it is currently possible to
create a filename of length (FAT_LFN_LEN + 1) when utf8 is not enabled.
To enforce the FAT_LFN_LEN limit, we must perform one less iteration.

Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
Signed-off-by: Ravishankar N <cyberax82@gmail.com>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-03-23 16:58:40 -07:00
..
cache.c
dir.c
fat.h fat: propagate umode_t 2012-01-03 22:55:09 -05:00
fatent.c
file.c fat: propagate umode_t 2012-01-03 22:55:09 -05:00
inode.c fat: switch to d_make_root() 2012-03-20 21:29:36 -04:00
Kconfig
Makefile
misc.c
namei_msdos.c switch ->create() to umode_t 2012-01-03 22:54:53 -05:00
namei_vfat.c fat: fix bug in enforcing Long File Name length 2012-03-23 16:58:40 -07:00