diff options
Diffstat (limited to 'Libraries/LibELF/ELFDynamicLoader.cpp')
-rw-r--r-- | Libraries/LibELF/ELFDynamicLoader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibELF/ELFDynamicLoader.cpp b/Libraries/LibELF/ELFDynamicLoader.cpp index ef1e0e71ed..2a6dcb0780 100644 --- a/Libraries/LibELF/ELFDynamicLoader.cpp +++ b/Libraries/LibELF/ELFDynamicLoader.cpp @@ -56,7 +56,7 @@ void* ELFDynamicLoader::symbol_for_name(const char* name) bool ELFDynamicLoader::load_from_image(unsigned flags) { - ELFImage elf_image((u8*)m_file_mapping); + ELFImage elf_image((u8*)m_file_mapping, m_file_size); m_valid = elf_image.is_valid() && elf_image.is_dynamic(); |