Blame SOURCES/0051-MokManager-fix-uninitialized-value.patch

d84fc6
From 7b77bee7966a1aa5f00a9b34aeb7e550bfa47be1 Mon Sep 17 00:00:00 2001
d84fc6
From: Peter Jones <pjones@redhat.com>
d84fc6
Date: Wed, 22 Jul 2020 23:53:09 -0400
d84fc6
Subject: [PATCH 51/62] MokManager: fix uninitialized value
d84fc6
d84fc6
Signed-off-by: Peter Jones <pjones@redhat.com>
d84fc6
Upstream: pr#212
d84fc6
---
d84fc6
 MokManager.c | 2 +-
d84fc6
 1 file changed, 1 insertion(+), 1 deletion(-)
d84fc6
d84fc6
diff --git a/MokManager.c b/MokManager.c
d84fc6
index fa73e2fd865..654a115033c 100644
d84fc6
--- a/MokManager.c
d84fc6
+++ b/MokManager.c
d84fc6
@@ -1431,7 +1431,7 @@ static CHAR16 get_password_charater(CHAR16 * prompt)
d84fc6
 	SIMPLE_TEXT_OUTPUT_MODE SavedMode;
d84fc6
 	EFI_STATUS efi_status;
d84fc6
 	CHAR16 *message[2];
d84fc6
-	CHAR16 character;
d84fc6
+	CHAR16 character = 0;
d84fc6
 	UINTN length;
d84fc6
 	UINT32 pw_length;
d84fc6
 
d84fc6
-- 
d84fc6
2.26.2
d84fc6