runtime_loader GetSymbolCache has invalid implicit assumption
|Reported by:||cdurrett||Owned by:||bonefish|
Bug because code assumes ELF being loaded was made with GCC. A yasm ELF file now fails with a segment/memory exception.
Line 61 (in current github source) in file elf_symbol_lookup.h reads:
If it is changed to read:
fTableSize(image->symhash ? image->symhash | 0),
the bug goes away.
Change History (8)
by , 5 years ago