diff options
author | Joursoir <chat@joursoir.net> | 2021-12-13 21:46:50 +0300 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2021-12-13 21:46:50 +0300 |
commit | 5abed58efcf6c739c473179255815270413a586b (patch) | |
tree | 80805051f109b7d6bab4331b86e8450fd6b32619 | |
parent | 8fe71800158e0da52b380ccbd758732b7f3777e4 (diff) | |
download | ufm-5abed58efcf6c739c473179255815270413a586b.tar.gz ufm-5abed58efcf6c739c473179255815270413a586b.tar.bz2 ufm-5abed58efcf6c739c473179255815270413a586b.zip |
cmds: fix passing an uninitialized pointer
-rw-r--r-- | Library/UefiShellUfmCommandLib/cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/UefiShellUfmCommandLib/cmds.c b/Library/UefiShellUfmCommandLib/cmds.c index 5aa4642..8f0b486 100644 --- a/Library/UefiShellUfmCommandLib/cmds.c +++ b/Library/UefiShellUfmCommandLib/cmds.c @@ -79,7 +79,7 @@ EFI_STATUS delete_file(EFI_SHELL_FILE_INFO *node) EFI_STATUS copy_file(CONST CHAR16 *src, CONST CHAR16 *dest) { SHELL_FILE_HANDLE dest_handle = NULL; - EFI_SHELL_FILE_INFO *list; + EFI_SHELL_FILE_INFO *list = NULL; EFI_STATUS status; CONST CHAR16 *path_last_item; CHAR16 *temp_name = NULL, *correct_dest = NULL; |