From nobody Wed Oct 05 11:48:36 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MjCWm5Pplz4f3mw; Wed, 5 Oct 2022 11:48:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MjCWm4bKmz3LRk; Wed, 5 Oct 2022 11:48:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664970516; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Xwqqsy6hVXDbS3hzjWdBoHQ/TpyMlh9i/I5eGfvA9H4=; b=Lq/2PcpBOitxEcbjpTcaQh8dZNjxWxe7PCBrm29yu9DPyzKi2IO640Oe6OXsw070S9UsyN bfLqfvaR8je77+trhL9aip4h7Wg061etsU1ZmlCzks64GppLtAF1/L8I/IbcnLrMXrj2p2 WPVEn5rq87jJ4dp0YgQAuL587x0D2tWfC8FU/iAcRn5o1XMkGydpflKVnf4dL9TEczEmXn 4swkDVyRXopPoj+pUpKW6nBZ6JklHj2WmE5eylkbh3yj2ETD0NoXt9RIm55Wbl5d9yqUcT BcINPNe2ThaEgqfSF3S0B1qmsV6ETNQGzfUJtFX64lp1vsrOYMsDfIN58j+Ngg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MjCWm3brgztXK; Wed, 5 Oct 2022 11:48:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 295BmaU7093040; Wed, 5 Oct 2022 11:48:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 295Bmafa093039; Wed, 5 Oct 2022 11:48:36 GMT (envelope-from git) Date: Wed, 5 Oct 2022 11:48:36 GMT Message-Id: <202210051148.295Bmafa093039@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Michael Gmelin Subject: git: bf7ec3f9a9fc - stable/13 - stand: Parse all arguments passed by UEFI List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: grembo X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: bf7ec3f9a9fcbd78bd0817693ba903c458a6e46f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664970516; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Xwqqsy6hVXDbS3hzjWdBoHQ/TpyMlh9i/I5eGfvA9H4=; b=pQ7naaHkNc5KgccEWzc8Qau827VvHznDkeIWwYcA+TMyC5NpliQEEyFslGwoUmx3a5vhuM mmJLgEWkH8UngmF+hKj66FO/vAMlmgFdvdvSsaOtyiyZ0p+GfWR6xkGK3Q7qO8xbgRFaUZ u5uQoV3mowciYjjnnvfg+AkBidNpTa/WafPTrZt+OqIVPx/lgrOK8hKwzMSiidX+NiBg2U PujY7E7eWrP1td0Q7AOKmeNP5LLpHExnwrxUz/FTq4THcnbYNQ9+UaQPu5AqwWxSB5TLav AOQa/3FU0RaNWeeL4tc0Yk6J/A5LYokw7ZPQEglwZa+uxoQTtjnJ5ZHpwP+Bjw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664970516; a=rsa-sha256; cv=none; b=w3tlbllyF+4TyY59ga+UPXClDBvv+v7tzG67AoA3Iv9/4w7DlQgTwx9GCwXQ7Eywi2dqYN sCx+YRHLpWSrG+XAiOBfmL8csKM5CkZc2N1AqxhjaD3kGynuZztClK0CgAPTtDxA7Gy9MM ZBK5anXLSXS3DM45O7Fee+RAmJtPmxSCADZ1SnwL5jHltY3vDNa0LhuyIaVYBm+BpCRFVG GQB6ZSAWtH1hpGUwC26Xin5gZggrcIXnqwqHpZyscr6jUlZExSvd1HUnwstUHI/PvMusCK 1HA/5uxOkgkGaSqY+11QAXU1qxaU/iH49PDFzoQXkSOd4IIF3owNPrQWU7oamA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by grembo (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=bf7ec3f9a9fcbd78bd0817693ba903c458a6e46f commit bf7ec3f9a9fcbd78bd0817693ba903c458a6e46f Author: Michael Gmelin AuthorDate: 2022-09-05 15:56:11 +0000 Commit: Michael Gmelin CommitDate: 2022-10-05 11:46:39 +0000 stand: Parse all arguments passed by UEFI Approved by: imp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D36457 (cherry picked from commit 2b3543dbb1b3fa7c2280d71c017e3e0304e77d54) --- stand/efi/loader/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c index eb143989190d..e5f7b7820b4f 100644 --- a/stand/efi/loader/main.c +++ b/stand/efi/loader/main.c @@ -719,7 +719,7 @@ parse_args(int argc, CHAR16 *argv[]) * method is flawed for non-ASCII characters). */ howto = 0; - for (i = 1; i < argc; i++) { + for (i = 0; i < argc; i++) { cpy16to8(argv[i], var, sizeof(var)); howto |= boot_parse_arg(var); }