From patchwork Wed Apr 18 20:33:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Palmer, Thomas" X-Patchwork-Id: 133671 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp307906ljf; Wed, 18 Apr 2018 13:33:26 -0700 (PDT) X-Google-Smtp-Source: AIpwx49vFzIyYQ+ZlgPu9AP9LjgT7yRfi266HOg09/gEJ73EbATEnSt/ILkQA1I+Zv0nRG+FYHbp X-Received: by 10.101.88.194 with SMTP id e2mr2826856pgu.229.1524083606356; Wed, 18 Apr 2018 13:33:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524083606; cv=none; d=google.com; s=arc-20160816; b=RkBVAHgMFWMFvPn8JbyQTLohMIRO4qh6XpDHsufy2WCoNwWLjaxk5PU/3TDCmHOBk9 sfzkFcLIh9swQyqFj2tChOfK8jbbw5FDQueki0M1TYJNeEQLVXqH6zWnIqJsEJJMzdih GRGoHF11KKWmSYVIItPbdnByKfiL9CDRaWcuqLfEeXsEvV66WSYJlmT03PlTeUhG35KG +9BUUSBQHLtbaoUbMMla84Roy/EXCYffl2FaviHp5YVFQ2j0dFyxyNKoeQ9gjzJMO+TN 7f3MgFtmDx5sKsyCrEWMolyDfPgPQic6Sushw8eYeso05nxjDFTT31IfZAma7tZgpRX3 gYMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:delivered-to:arc-authentication-results; bh=O7D0YG4mEB9mbHBrj9CcjuQvmeF+sVOloCia2u9IX1g=; b=BqggwVDTKwor1lWNBbfoGN5g5Ar1Zriym2n8hB5dYijhllQdfGXvL3rJPvMcC0NB86 otTM/y89aCyJ00hBqTYAOPXS4FdaHIYEyVJYG15zXKCo2t0aQdD+TokPQTKeNKYgxchb qbPzmEHaJLIQIcLwocDN/9BQCqc7pXhvw7YQ9jwcyYiIIsd2sILRbpvK7sZDoTZZNCEF EwNnKg4a42czy1+FkJ+L0NfkwKUNBt5GxBXcKvzjWZw9ELwOwCxcrp9CfJHxoEsO9iUR iZFJvPLWi9Q1cnvbm2YKYXqufz0aapzesVSqeXT4zLEaB59YBHf6ZH+94oNMi2CPr1iK sxCw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id i128si1779217pfg.343.2018.04.18.13.33.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Apr 2018 13:33:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 8F86122690AB8; Wed, 18 Apr 2018 13:33:24 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: None (no SPF record) identity=mailfrom; client-ip=15.233.44.26; helo=g2t2353.austin.hpe.com; envelope-from=thomas.palmer@hpe.com; receiver=edk2-devel@lists.01.org Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C42C32268391E for ; Wed, 18 Apr 2018 13:33:23 -0700 (PDT) Received: from arm-build-server.us.rdlabs.hpecorp.net (arm-build-server.us.rdlabs.hpecorp.net [16.84.24.54]) by g2t2353.austin.hpe.com (Postfix) with ESMTP id E5FAE82; Wed, 18 Apr 2018 20:33:22 +0000 (UTC) From: Thomas Palmer To: edk2-devel@lists.01.org Date: Wed, 18 Apr 2018 15:33:13 -0500 Message-Id: <1524083594-32058-3-git-send-email-thomas.palmer@hpe.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524083594-32058-1-git-send-email-thomas.palmer@hpe.com> References: <1524083594-32058-1-git-send-email-thomas.palmer@hpe.com> Subject: [edk2] [PATCH 7/8] SecurityPkg/UserIdentifyManagerDxe: Update RouteConfig function X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jiewen.yao@intel.com, nickle.wang@hpe.com, eric.dong@intel.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" According to UEFI spec, the RouteConfig protocol function should populate the Progress pointer with an address inside Configuration. This patch ensures that these functions are compliant when EFI_NOT_FOUND is returned. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Thomas Palmer --- .../UserIdentification/UserIdentifyManagerDxe/UserIdentifyManager.c | 3 +++ 1 file changed, 3 insertions(+) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManager.c b/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManager.c index a7467b366290..f9743db84d88 100644 --- a/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManager.c +++ b/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManager.c @@ -2,6 +2,7 @@ This driver manages user information and produces user manager protocol. Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.
+(C) Copyright 2018 Hewlett Packard Enterprise Development LP
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -2752,6 +2753,8 @@ FakeRouteConfig ( return EFI_INVALID_PARAMETER; } + *Progress = Configuration; + return EFI_NOT_FOUND; }