Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2165595imn; Mon, 1 Aug 2022 13:42:21 -0700 (PDT) X-Google-Smtp-Source: AA6agR6wocihXVoAY6QV6ygKaJr9eNPVMXnYpqxmLi3QVG8XTRLoK7vKwv9LNWOCkJCUWI6p0Zf5 X-Received: by 2002:a17:902:f790:b0:16b:d796:3696 with SMTP id q16-20020a170902f79000b0016bd7963696mr18274582pln.97.1659386541615; Mon, 01 Aug 2022 13:42:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659386541; cv=none; d=google.com; s=arc-20160816; b=F4w5yhG7yFqdknSfHoBtNV3EZIKPxFTNy5v/XeIUJObgERGUxGlQFoEC9NEhMNm7Dt rm06HcqGv+Wp0pV5WqOKd98NqbM+8apgcareDPfpkLMbI2WU5FWQdRAJUkzXWFHRVZEJ EhZmQxpB0GH27GrAysCDJ0GjCbXTO6bC2HOuD9hpYq7ajpXNMJJgybKpXJDWj17x4MAq fmnfSmu4d2arQ8dl/+XjMgUWFYDdCQRRyLk9HNyPyLJFoiUIt3k316ibCaSE/8Jf+jji sDmmeu7NLNYK5L0D3WP//gysXrw1rg+D6I7NdOgCDoBAI05pQFP3ADQKd7RjHllsA5gS Il8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=GMLfQhiFoOOYbLxBP5IgODgFjPnLsOknQC5aiwl+fHQ=; b=VxIJtzSn2n+vf4mf/ZQ55Sd8MftIu2qdsoHuSzZMPjQTF5UGf1AO092pZxw21vP4ms XTXP/GJgiNHp4d88zpS1rtwckBhTxSCFp7/ATTjEwbx5LCuE6yOBQyfkfHzlCVODQnom sPtYGlb22o8XpSXnV0YCq3XHV6Jmo6eReuN4gixGaO9PWlECd2qz05dogyHshZZ8pb48 Akfz4/p/AobSLuNiwfot+b2fvZuwN0va/teDtqDLp/Y4fsdOXhlpOTbEx472Jvi86W+/ zhFpLuqyUtZHjaon+kPjcisUs/4DnA8M/+joasLp1BfTbeTr78Cejie0s7f+x7/PqUYA Xgtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=dSkq4WhP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a10-20020a63704a000000b0041ae5bf1290si14743139pgn.246.2022.08.01.13.42.06; Mon, 01 Aug 2022 13:42:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=dSkq4WhP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234019AbiHAU3E (ORCPT + 99 others); Mon, 1 Aug 2022 16:29:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232486AbiHAU3D (ORCPT ); Mon, 1 Aug 2022 16:29:03 -0400 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C14892BB3E; Mon, 1 Aug 2022 13:29:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1659385742; x=1690921742; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=GMLfQhiFoOOYbLxBP5IgODgFjPnLsOknQC5aiwl+fHQ=; b=dSkq4WhPDIHaDewULX8z97FZ2XSkinsG/TwOddhLHkc1MTrA4aTOHn35 dw6SfNW0GXYs+cI+Fg3K7RB2beo7gXN5WknjtnS3SULqqhgcuQbGempIQ +chdtOf6iYAUGkn3gSPz9vSezAqu93J9CtWnZcvMCzczoU3JNcR6OdyXI 8=; Received: from unknown (HELO ironmsg03-sd.qualcomm.com) ([10.53.140.143]) by alexa-out-sd-02.qualcomm.com with ESMTP; 01 Aug 2022 13:29:02 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg03-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Aug 2022 13:29:02 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Mon, 1 Aug 2022 13:29:01 -0700 Received: from [10.110.54.176] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Mon, 1 Aug 2022 13:29:01 -0700 Message-ID: Date: Mon, 1 Aug 2022 13:29:00 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 1/3] modpost: add array range check to sec_name() Content-Language: en-US To: Masahiro Yamada , CC: Michal Marek , Nick Desaulniers , References: <20220730173636.1303357-1-masahiroy@kernel.org> From: Jeff Johnson In-Reply-To: <20220730173636.1303357-1-masahiroy@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/30/2022 10:36 AM, Masahiro Yamada wrote: > The section index is always positive, so the argunent, secindex, should nit: s/argunent/argument/