Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751926AbdGHF4x (ORCPT ); Sat, 8 Jul 2017 01:56:53 -0400 Received: from mail.parknet.co.jp ([210.171.160.6]:49760 "EHLO mail.parknet.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750923AbdGHF4w (ORCPT ); Sat, 8 Jul 2017 01:56:52 -0400 From: OGAWA Hirofumi To: Meelis Roos Cc: Linux Kernel list Subject: Re: namei_vfat.c array subscript is above array bounds References: <8760f4pdhz.fsf@devron> Date: Sat, 08 Jul 2017 14:56:49 +0900 In-Reply-To: (Meelis Roos's message of "Fri, 7 Jul 2017 16:58:04 +0300 (EEST)") Message-ID: <871sprpj32.fsf@devron> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 860 Lines: 24 Meelis Roos 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