mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 23:39:20 +00:00
Make sure InterpreterPath has \0 character by default
This commit is contained in:
@ -107,7 +107,7 @@ namespace Execute
|
||||
if (ItrPhdr.p_vaddr == 0)
|
||||
EntryPoint += (uintptr_t)MemoryImage.Virtual;
|
||||
|
||||
char InterpreterPath[256];
|
||||
char InterpreterPath[256] = {'\0'};
|
||||
|
||||
for (Elf64_Half i = 0; i < ELFHeader->e_phnum; i++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user