ld.so: missing variable initialisation
This commit is contained in:
parent
b9f0f8cbd1
commit
707e7f920c
@ -163,6 +163,7 @@ static int _elf_phdr(int fd, char const * filename, Elf_Ehdr * ehdr,
|
||||
else if(phdr.p_filesz == phdr.p_memsz)
|
||||
{
|
||||
flags |= MAP_FILE;
|
||||
prot = _elf_prot(phdr.p_flags);
|
||||
if(prot & PROT_WRITE)
|
||||
flags |= MAP_PRIVATE;
|
||||
f = fd;
|
||||
|
Loading…
Reference in New Issue
Block a user