linux/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 fat: Fix possible null deref in fat_cache_add() 2011-04-12 21:12:16 +09:00
dir.c fat: follow rename pack_hex_byte() to hex_byte_pack() 2011-10-31 17:30:57 -07:00
fat.h fat: propagate umode_t 2012-01-03 22:55:09 -05:00
fatent.c fat: Replace all printk with fat_msg() 2011-04-12 21:12:42 +09:00
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 fat: Replace all printk with fat_msg() 2011-04-12 21:12:42 +09:00
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