Merge "Fix crash when trying to load invalid ELF file."