From nobody Tue Sep 06 11:39:32 2022 X-Original-To: dev-commits-src-main@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 4MMNhj18DSz4bc6Y; Tue, 6 Sep 2022 11:39:33 +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 4MMNhj0gkrz3q6J; Tue, 6 Sep 2022 11:39:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662464373; 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=rIx7Lg0PIYpPd/+i/vYYCax9whY8ZsX0hQgej0XB7wM=; b=ssKKcst1baqnL0lVdobpU3634yJYEGWT+IGseNkwagXOaI8qCZY6w5CI4A2+sZfcmOoPZ6 ZHE4GL/hNdsDVaMVxiWRVCDJGf+x7VSTT5ujEQExfrt1bM+l5fxLLmff5FFuh/IsblF/dV lckUnarYDzVjX9AU7/AoH2GjytwgFKUhkN7bGzXoaSFXMp4af6QhUwV+yavM5p/ZYaJoTw TzKJLeZ5W8IlukjId55kr1Z4oTLkfABw26ubW/4JdUZ3O1E2zXlQ368OOJvGWwvdrp+ghb 1o/QLNow9aac/Ctq8V+281irjBWUcasi3QcUlQulp1l6FKADgDPHC4KzX1g4sA== 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 4MMNhh6q7Pz18kM; Tue, 6 Sep 2022 11:39:32 +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 286BdWkw049419; Tue, 6 Sep 2022 11:39:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 286BdWd4049418; Tue, 6 Sep 2022 11:39:32 GMT (envelope-from git) Date: Tue, 6 Sep 2022 11:39:32 GMT Message-Id: <202209061139.286BdWd4049418@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Michael Gmelin Subject: git: 2b3543dbb1b3 - main - stand: Parse all arguments passed by UEFI List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 2b3543dbb1b3fa7c2280d71c017e3e0304e77d54 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662464373; 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=rIx7Lg0PIYpPd/+i/vYYCax9whY8ZsX0hQgej0XB7wM=; b=kolLevjr6pt3isXPMOXDeTDaeYbhj40wWim0y7fzzSTF95vB403VMB6skbRgoLwLqggux6 QFo40jCAg1VCluSI1KPQd6kKxv0yae4o/NdmsU64LQOeXlIErVd80oK0a5Ryv7Hw4nobte RZH+3BdVcDjsdIK+bMzHXAk+IbHo1Cgbbescq+5F2w0XZqN07kxcm3YIpjxFGdq+7ixEAq 4tdO/wW1xaGDrYtQnElN84tFZ1rTNC4Go5qL55U8q0lW+0X/ihEuCo1+Y5lLAXkwVOPwcd Y+m9r3QBgoffNnundDj3LujqZAm2I8EmcWRHtDX+XactNy2ZTZzYNHKxkOHpRA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662464373; a=rsa-sha256; cv=none; b=HcIdZmH8udN/d8SkVb9nr6/nYeTjqSqgTiaf94UCqov8pEPOG8Qw1kx/9CscFBzIpAVE3j H9/WuWkcdOK4R7JM9jQzGsNKDO6dQyUW7+SY4NUwCnUwApNEISrHCWbAJFDKtpeFR2OVbc K95wpuagjyEr7aTPdgQo/oLJBDyJe6ByMZ9obGxhhr2ev0jkKB91vnCL9+Xc8G9pdcQPdz sJsvGA4KAKE5laaBPyp5Bc27DCkTyoG5jeXcFKJ02nfJuM5gT/7P1/+320G31JuHLJkUgZ Z2R363KQDis+JPiQpsaZP8XxJfwP6464Scig6EDNxax6WkBcgQ/R6TG/x2F3uw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by grembo (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=2b3543dbb1b3fa7c2280d71c017e3e0304e77d54 commit 2b3543dbb1b3fa7c2280d71c017e3e0304e77d54 Author: Michael Gmelin AuthorDate: 2022-09-05 15:56:11 +0000 Commit: Michael Gmelin CommitDate: 2022-09-06 11:39:08 +0000 stand: Parse all arguments passed by UEFI Approved by: imp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D36457 --- 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 a6fccf9e93c5..5edc06c9e0d5 100644 --- a/stand/efi/loader/main.c +++ b/stand/efi/loader/main.c @@ -720,7 +720,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); }