You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.6 KiB
58 lines
1.6 KiB
4 months ago
|
From b8793ffc6a7e7cfe3ecd9bd0da566ffd913a4544 Mon Sep 17 00:00:00 2001
|
||
|
From: Jon Maloy <jmaloy@redhat.com>
|
||
|
Date: Thu, 20 Jun 2024 10:34:52 -0400
|
||
|
Subject: [PATCH 7/8] CryptoPkg/Test: call ProcessLibraryConstructorList
|
||
|
|
||
|
RH-Author: Jon Maloy <jmaloy@redhat.com>
|
||
|
RH-MergeRequest: 75: NetworkPkg: SECURITY PATCH CVE-2023-45236 and CVE-2023-45237
|
||
|
RH-Jira: RHEL-40270 RHEL-40272
|
||
|
RH-Acked-by: Gerd Hoffmann <None>
|
||
|
RH-Commit: [7/8] 7b09b94bfb56f5b81df2ccf1e6dbe21a7354a723
|
||
|
|
||
|
JIRA: https://issues.redhat.com/browse/RHEL-40270
|
||
|
Upstream: Merged
|
||
|
CVE: CVE-2023-45237
|
||
|
|
||
|
commit 94961b8817eec6f8d0434555ac50a7aa51c22201
|
||
|
Author: Gerd Hoffmann <kraxel@redhat.com>
|
||
|
Date: Fri Jun 14 11:45:49 2024 +0200
|
||
|
|
||
|
CryptoPkg/Test: call ProcessLibraryConstructorList
|
||
|
|
||
|
Needed to properly initialize BaseRngLib.
|
||
|
|
||
|
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
||
|
|
||
|
Signed-off-by: Jon Maloy <jmaloy@redhat.com>
|
||
|
---
|
||
|
.../Test/UnitTest/Library/BaseCryptLib/UnitTestMain.c | 7 +++++++
|
||
|
1 file changed, 7 insertions(+)
|
||
|
|
||
|
diff --git a/CryptoPkg/Test/UnitTest/Library/BaseCryptLib/UnitTestMain.c b/CryptoPkg/Test/UnitTest/Library/BaseCryptLib/UnitTestMain.c
|
||
|
index d0c1c7a4f7..48d463b8ad 100644
|
||
|
--- a/CryptoPkg/Test/UnitTest/Library/BaseCryptLib/UnitTestMain.c
|
||
|
+++ b/CryptoPkg/Test/UnitTest/Library/BaseCryptLib/UnitTestMain.c
|
||
|
@@ -8,6 +8,12 @@
|
||
|
**/
|
||
|
#include "TestBaseCryptLib.h"
|
||
|
|
||
|
+VOID
|
||
|
+EFIAPI
|
||
|
+ProcessLibraryConstructorList (
|
||
|
+ VOID
|
||
|
+ );
|
||
|
+
|
||
|
/**
|
||
|
Initialize the unit test framework, suite, and unit tests for the
|
||
|
sample unit tests and run the unit tests.
|
||
|
@@ -76,5 +82,6 @@ main (
|
||
|
char *argv[]
|
||
|
)
|
||
|
{
|
||
|
+ ProcessLibraryConstructorList ();
|
||
|
return UefiTestMain ();
|
||
|
}
|
||
|
--
|
||
|
2.39.3
|
||
|
|