Blame SOURCES/0027-fallback-Fix-the-data-size-for-boot-option-compariso.patch

e97c83
From 4aac8a1179e160397d7ef8f1e3232cfb4f3373d6 Mon Sep 17 00:00:00 2001
e97c83
From: Gary Ching-Pang Lin <glin@suse.com>
e97c83
Date: Thu, 6 Mar 2014 10:57:02 +0800
e97c83
Subject: [PATCH 27/74] [fallback] Fix the data size for boot option comparison
e97c83
e97c83
Signed-off-by: Gary Ching-Pang Lin <glin@suse.com>
e97c83
---
e97c83
 fallback.c | 2 +-
e97c83
 1 file changed, 1 insertion(+), 1 deletion(-)
e97c83
e97c83
diff --git a/fallback.c b/fallback.c
e97c83
index 4bde9c1..7f242e1 100644
e97c83
--- a/fallback.c
e97c83
+++ b/fallback.c
e97c83
@@ -231,7 +231,7 @@ find_boot_option(EFI_DEVICE_PATH *dp, CHAR16 *filename, CHAR16 *label,
e97c83
 {
e97c83
 	unsigned int size = sizeof(UINT32) + sizeof (UINT16) +
e97c83
 		StrLen(label)*2 + 2 + DevicePathSize(dp) +
e97c83
-		StrLen(arguments) * 2 + 2;
e97c83
+		StrLen(arguments) * 2;
e97c83
 
e97c83
 	CHAR8 *data = AllocateZeroPool(size);
e97c83
 	if (!data)
e97c83
-- 
e97c83
1.9.3
e97c83