- Add shim-bsc1177404-fix-a-use-of-strlen.patch to fix the length of the option data string to launch the program correctly (bsc#1177404) - Add shim-bsc1175509-more-tpm-fixes.patch to fix the file path in the tpm even log (bsc#1175509) OBS-URL: https://build.opensuse.org/request/show/841727 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/shim?expand=0&rev=167
28 lines
764 B
Diff
28 lines
764 B
Diff
From 3b3ef3899245299c55fbb9b3adb367276b1c5514 Mon Sep 17 00:00:00 2001
|
|
From: Peter Jones <pjones@redhat.com>
|
|
Date: Thu, 5 Sep 2019 10:36:23 -0400
|
|
Subject: [PATCH] Fix a use of strlen() instead of Strlen()
|
|
|
|
Signed-off-by: Peter Jones <pjones@redhat.com>
|
|
(cherry picked from commit 1870bae796022f8bbf60465352eac329ff1d6ffd)
|
|
---
|
|
shim.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/shim.c b/shim.c
|
|
index 0f5e58d..ebc46f0 100644
|
|
--- a/shim.c
|
|
+++ b/shim.c
|
|
@@ -2145,7 +2145,7 @@ static int is_our_path(EFI_LOADED_IMAGE *li, CHAR16 *path)
|
|
|
|
dprint(L"dppath: %s\n", dppath);
|
|
dprint(L"path: %s\n", path);
|
|
- if (StrnCaseCmp(dppath, PathName, strlen(dppath)))
|
|
+ if (StrnCaseCmp(dppath, PathName, StrLen(dppath)))
|
|
ret = 0;
|
|
|
|
done:
|
|
--
|
|
2.28.0
|
|
|