public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Thomas Palmer <thomas.palmer@hpe.com>
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 <thomas.palmer@hpe.com>
Subject: [PATCH 6/8] SecurityPkg/PwdCredentialProviderDxe: Update RouteConfig function
Date: Wed, 18 Apr 2018 15:33:12 -0500	[thread overview]
Message-ID: <1524083594-32058-2-git-send-email-thomas.palmer@hpe.com> (raw)
In-Reply-To: <1524083594-32058-1-git-send-email-thomas.palmer@hpe.com>

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 <thomas.palmer@hpe.com>
---
 .../PwdCredentialProviderDxe/PwdCredentialProvider.c                   | 3 +++
 1 file changed, 3 insertions(+)

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.<BR>
+(C) Copyright 2018 Hewlett Packard Enterprise Development LP<BR>
 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;
 }
 
-- 
2.7.4



  reply	other threads:[~2018-04-18 20:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-18 20:33 [PATCH 5/8] SecurityPkg/Tcg2Config: Update RouteConfig function Thomas Palmer
2018-04-18 20:33 ` Thomas Palmer [this message]
2018-04-18 20:33 ` [PATCH 7/8] SecurityPkg/UserIdentifyManagerDxe: " Thomas Palmer
2018-04-18 20:33 ` [PATCH 8/8] SecurityPkg/UserProfileManagerDxe: " Thomas Palmer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1524083594-32058-2-git-send-email-thomas.palmer@hpe.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox