diff mbox series

[edk2,8/8] SecurityPkg/UserProfileManagerDxe: Update RouteConfig function

Message ID 1524083594-32058-4-git-send-email-thomas.palmer@hpe.com
State Accepted
Commit 3ff82ee5fc52c8e8764b407ec45cafab8452e2b9
Headers show
Series [edk2,1/8] IntelFrameworkModulePkg/LegacyBootMaintUiLib: Update RouteConfig function | expand

Commit Message

Palmer, Thomas April 18, 2018, 8:33 p.m. UTC
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>

---
 .../UserIdentification/UserProfileManagerDxe/UserProfileManager.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 mbox series

Patch

diff --git a/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.c b/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.c
index 4bba0824c7ab..b84f2cdf9c02 100644
--- a/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.c
+++ b/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.c
@@ -5,6 +5,7 @@ 
   policy, etc.
 
 Copyright (c) 2009 - 2011, 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 
@@ -805,6 +806,8 @@  FakeRouteConfig (
     return EFI_INVALID_PARAMETER;
   }
 
+  *Progress = Configuration;
+
   return EFI_NOT_FOUND;
 }