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

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