VFAT: handle filenames with are exact multiples of 13
authorH. Peter Anvin <hpa@zytor.com>
Fri, 5 Mar 2010 18:58:42 +0000 (10:58 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 5 Mar 2010 18:58:42 +0000 (10:58 -0800)
commit6faf979386282a1b9be4c74d8ef7d64d107b3e3d
treea29ea888b195246b56b5f24075f9940664e777d2
parent05148f4404702aa58f63bb29b22b0fe1bd757439
VFAT: handle filenames with are exact multiples of 13

Filenames in VFAT that are exact multiples of 13 are not
null-terminated; handle that particular subcase.

Reported-by: Gert Hulselmans <gerth@zytor.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/fs/fat/fat.c