Blame SOURCES/0033-Fix-a-use-of-strlen-instead-of-Strlen.patch
|
|
00e791 |
From c372ec7a254147f70d62c1f72da5806d42df6994 Mon Sep 17 00:00:00 2001
|
|
|
00e791 |
From: Peter Jones <pjones@redhat.com>
|
|
|
00e791 |
Date: Thu, 5 Sep 2019 10:36:23 -0400
|
|
|
00e791 |
Subject: [PATCH 33/62] Fix a use of strlen() instead of Strlen()
|
|
|
00e791 |
|
|
|
00e791 |
Signed-off-by: Peter Jones <pjones@redhat.com>
|
|
|
00e791 |
Upstream-commit-id: 1870bae7960
|
|
|
00e791 |
---
|
|
|
00e791 |
shim.c | 2 +-
|
|
|
00e791 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
00e791 |
|
|
|
00e791 |
diff --git a/shim.c b/shim.c
|
|
|
00e791 |
index 16911a37b17..a0eb19b91fe 100644
|
|
|
00e791 |
--- a/shim.c
|
|
|
00e791 |
+++ b/shim.c
|
|
|
00e791 |
@@ -2118,7 +2118,7 @@ static int is_our_path(EFI_LOADED_IMAGE *li, CHAR16 *path)
|
|
|
00e791 |
|
|
|
00e791 |
dprint(L"dppath: %s\n", dppath);
|
|
|
00e791 |
dprint(L"path: %s\n", path);
|
|
|
00e791 |
- if (StrnCaseCmp(dppath, PathName, strlen(dppath)))
|
|
|
00e791 |
+ if (StrnCaseCmp(dppath, PathName, StrLen(dppath)))
|
|
|
00e791 |
ret = 0;
|
|
|
00e791 |
|
|
|
00e791 |
done:
|
|
|
00e791 |
--
|
|
|
00e791 |
2.26.2
|
|
|
00e791 |
|