Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp624281rwb; Thu, 22 Sep 2022 04:33:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4LNr7Zu15owhjuhSxaj0i3LzUneSgWyKKAL01HMHK/PT7PeeX++NnSCvM2+0Xput32uBj3 X-Received: by 2002:a17:907:5ce:b0:730:bae0:deb with SMTP id wg14-20020a17090705ce00b00730bae00debmr2439915ejb.181.1663846382338; Thu, 22 Sep 2022 04:33:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663846382; cv=none; d=google.com; s=arc-20160816; b=EXVOVV1gE7ZZmyFZRJyHbVtv276nsTHsTduBUQpklc7sC5jAobanRzcvH9fSgAatxs MVklIyL74hcQr/aclwu4tKCeWqPb4cOTNgTu7O8h22HYF7r+ZX6GdvxTvgZQnSe8t/XX 4bLYGHu0tfBuPoiqejJq80HhRdzZnGOA8Rv5Bu7/DESZMOyrnMGB5kaw4HmnKgI+95Cp 2EyjekYL7/YXDx3qNehe4htKAsUxV91gP8cAVqavCv690ItQlD+OaxWwceXlR/taJRPX YA/nqeBWC/d6rjvBWHQ4UoNQTR3eUSX0SoXnOGEGmdrRAp5G4uqG/WEbfPJ9C6NNVtCh NfqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=uOynMLzBftBTcSM2of++qUJC99hDA7ZzAymT74EKUAE=; b=qZnBzDwELfsmrCopXWn/elFXUfcR4VTRVaOskGKw8+PnKM5A26N41PfhE/Z94KQl0d m6oVg8CNeCrLErRP9YESRXvugm6UlaBDai+lc+pTDhKmbHSS1MXQATHcez0XZTND1Q36 VBizOJvp9uzMwKxamj0kWliGCek5kRnUd0Fhb7YAh6KvRD+ghzOEtJh2bt+CCyWWjCMI +2scouxa8XnvdpIDRkXQeyMtYlCT8PvjrWGaruGNWyFpSRVyx57a9ke4We6IiDH2SPuO TArgUEeTqD05qUzaoRe9c1wnukLOxMeVtUKoSb7W4OUtca/gJx1dptJq2edglC7Gf3M4 lihQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=0A+XTVN7; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x26-20020a50d61a000000b0044f082e4d08si4261944edi.457.2022.09.22.04.31.55; Thu, 22 Sep 2022 04:33:02 -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=@microchip.com header.s=mchp header.b=0A+XTVN7; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231309AbiIVLGz (ORCPT + 99 others); Thu, 22 Sep 2022 07:06:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231263AbiIVLGh (ORCPT ); Thu, 22 Sep 2022 07:06:37 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C486DE0F8 for ; Thu, 22 Sep 2022 04:05:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1663844759; x=1695380759; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=4khpOzJ+xAoEzXavzdtwAPfYs0FdBngUJHQblA2ykV0=; b=0A+XTVN7H0ckKHt8nwA/1nMMdOkivkaxbuqv7BpT8LX/YRO1fe/WhRXr t/DlbhfuLKhxKOwwjv+Eq8IrhRIqYeLOJyZznRd9R3I7u1tfJPR5PO3Nc 7KXzIqiqIFj7c32wVJPD5JWgM2Al1Vy8LdH26dJIaSsXcHbPcSBQwQQpC MqKL4ycYi4+mK6uyhC8MwpwbNmyiKuE2RZDykpDnJ0nlD4g7XqmIMio6v 0m+pW7cdr3kCIAZUlUv+P7E6ubcIp4bdnopRJZcWXTBmRnN60IEvpwxEn CRYDCFo7t8iZncURmfvWdqc1BRFLSgl8+0zYjoIgwtgISSZd6U0KCX6Cq g==; X-IronPort-AV: E=Sophos;i="5.93,335,1654585200"; d="scan'208";a="181501572" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 22 Sep 2022 04:05:54 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Thu, 22 Sep 2022 04:05:42 -0700 Received: from wendy (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12 via Frontend Transport; Thu, 22 Sep 2022 04:05:41 -0700 Date: Thu, 22 Sep 2022 12:05:19 +0100 From: Conor Dooley To: CC: , Xu Panda , Zeal Robot , Subject: Re: [PATCH linux-next] scripts/extract_xc3028: use absolute path for which Message-ID: References: <20220922102624.236308-1-xu.panda@zte.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20220922102624.236308-1-xu.panda@zte.com.cn> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,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 Thu, Sep 22, 2022 at 10:26:25AM +0000, cgel.zte@gmail.com wrote: > From: Xu Panda Hey Xu Panda, I accidentally found this patch while looking for your RISC-V one on lore. You've not CC'ed any maintainers so I am not sure who you expect to pick this patch up, but seeing as Greg has NACKed the patch you sent to the RISC-V list [0] earlier doing the same thing I figure it is a moot point... maybe engaging with maintainers rather than sending more patches would be a more successful strategy for you here :( Either way, you'll likely have to resend this with a maintainer CCed for someone to be able to apply your patch once you've resolved the email issues. Thanks, Conor. 0 - https://lore.kernel.org/all/Yyw24J7YFVtxsnJ7@kroah.com/ > > Not using absolute path when invoking which can lead to serious security > issues. > > Reported-by: Zeal Robot > Signed-off-by: Xu Panda > --- > scripts/extract_xc3028.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/extract_xc3028.pl b/scripts/extract_xc3028.pl > index e1c9af25a595..c9ddcba07550 100755 > --- a/scripts/extract_xc3028.pl > +++ b/scripts/extract_xc3028.pl > @@ -29,7 +29,7 @@ sub verify ($$) > my ($filename, $hash) = @_; > my ($testhash); > > - if (system("which md5sum > /dev/null 2>&1")) { > + if (system("/usr/bin/which md5sum > /dev/null 2>&1")) { > die "This firmware requires the md5sum command - see http://www.gnu.org/software/coreutils/\n"; > } > > -- > 2.15.2 >