From patchwork Wed Apr 18 20:33:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Palmer, Thomas" X-Patchwork-Id: 133670 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp307881ljf; Wed, 18 Apr 2018 13:33:24 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/xMp8+mafafbqJTEIky6XijKk2jhLOijHPncJWKDtOX+myJ1/LKWIIDAqtxiPkQVl9YOjU X-Received: by 10.101.99.132 with SMTP id h4mr2835813pgv.153.1524083604788; Wed, 18 Apr 2018 13:33:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524083604; cv=none; d=google.com; s=arc-20160816; b=e5CIoe8IgOcXsGe6FaW+PSoRhwUU03AAbObw9+/Z9A9VkcKfpbVBUl7ChjyerZ1zee L6SVKamZH14WK211p8M2Clzeubizm79nRbfyQOdS7ScTkG7tBDrvcsWNwQG3c+rsg3nZ ygtwCEBW/XK0eXCtV6JZuOaHspvKuwnzRSQpV+baj+7qfTibOVMgyy/Pld14MHD4PLi5 bjRFUqKtcDxaAiTTPOS8PXnyaLXBE0Yntca+zZU+T91weAfeJIY7CZiKg+I2wZs1fjjR FPDWN5ntsGbH7OR9lmdbIpqEqDvQ3z3cSfL2ILM2Cn0k5VIImkD3udXeLxICr1h4cYVf xSWQ== 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=8hzl6ljxuQZ9fwQ5TpGMV9sp+vxuU6E8ZZvoS+0SVRs=; b=ccG8jDFHitXQAW9/gIr20v/KiN6fn/Lm1CPW35l45t/4cK/rIR4zMwNWKLnDzefeLP 4a9tzzJiNzgVLfVeUXh7eejNVQ8Jp16dcqXyi8+QBH6Fb4krs2DVaAMhixQB0tohRm9+ TFXzYmBc9xRp4jgEZOReTlGfvhIWHl7c8jAWK5dWG5THpPrNjqPw8W/kqjE3m9TC8gQu 5NzNo+fab+bTTJNKAj/xd4luzPAg+dsDXkx2AZAIAH7Y6rCMNrqeBK5SNuWIaMRD0BRa tDB8+228t1BR5VzYTPKlCyPnBYWazDS0JirFGulL0fs6CIwLXDiTx5yhTbzdAmvBIErx jjxQ== 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 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id r129si1884555pfc.202.2018.04.18.13.33.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Apr 2018 13:33:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 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 6CE7322690AB0; 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 53F702268391E for ; Wed, 18 Apr 2018 13:33:22 -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 77D778D; Wed, 18 Apr 2018 20:33:21 +0000 (UTC) From: Thomas Palmer To: edk2-devel@lists.01.org Date: Wed, 18 Apr 2018 15:33:12 -0500 Message-Id: <1524083594-32058-2-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 6/8] SecurityPkg/PwdCredentialProviderDxe: 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 --- .../PwdCredentialProviderDxe/PwdCredentialProvider.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/PwdCredentialProviderDxe/PwdCredentialProvider.c b/SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c index b9e89cbfe796..ec1e3893fc04 100644 --- a/SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c +++ b/SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c @@ -2,6 +2,7 @@ Password Credential Provider driver implementation. 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 @@ -646,6 +647,8 @@ FakeRouteConfig ( return EFI_INVALID_PARAMETER; } + *Progress = Configuration; + return EFI_NOT_FOUND; }