From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Cc: joseph.shifflett@hpe.com, nickle.wang@hpe.com, eric.dong@intel.com, jiewen.yao@intel.com, Thomas Palmer 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: [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: , X-List-Received-Date: Wed, 18 Apr 2018 20:33:24 -0000 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(+) 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; } -- 2.7.4