Re: namei_vfat.c array subscript is above array bounds

From: OGAWA Hirofumi
Date: Sat Jul 08 2017 - 01:57:11 EST


Meelis Roos <mroos@xxxxxxxx> writes:

>> > I do not know if this is old or new, just noticed it scrolling by while
>> > compiling current 4.12+git on 32-bit x86.
>>
>> Which version of compiler?
>
> gcc version 6.4.0 20170704 (Debian 6.4.0-1)
>
> After "touch fs/fat/namei_vfat.c" it appears consitently for me. Debian
> unstable, up to date.

Tried with same gcc version, I can't still reproduce it. Possible
difference is, I'm using x86_64 gcc with ARCH=i386 (-m32).

$ md5sum fs/fat/namei_vfat.c arch/x86/include/asm/string*
d8994e21f6ebc27f89b30a2532b0bc1d fs/fat/namei_vfat.c
e174dd82e3956479e76f2b78ba397287 arch/x86/include/asm/string.h
662b134b5adb0919ea23e95752a18290 arch/x86/include/asm/string_32.h
b91bcf192dcde29933275f0901e5dac5 arch/x86/include/asm/string_64.h

Source is same with above?
--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>