You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the report. I can confirm that fileinfo crashes when analyzing the attached file. Output from valgrind:
Invalid read of size 8
at 0x4C33BB0: memmove (vg_replace_strmem.c:1258)
by 0x23CB0D: char* std::__copy_move<...>::__copy_m<char>(...) (stl_algobase.h:368)
by 0x23C7F5: char* std::__copy_move_a<...>(...) (stl_algobase.h:386)
by 0x23CD0E: char* std::__copy_move_a2<...>(...) (stl_algobase.h:424)
by 0x23CAC2: char* std::copy<...>(...) (stl_algobase.h:456)
by 0x3148D4: ELFIO::section_impl<ELFIO::Elf32_Shdr>::set_data(...) (elfio_section.hpp:173)
by 0x300FBA: retdec::fileformat::ElfFormat::addSymbolTable(...) (elf_format.cpp:1232)
by 0x304C44: retdec::fileformat::ElfFormat::loadInfoFromDynamicTables(...) (elf_format.cpp:1965)
by 0x305230: retdec::fileformat::ElfFormat::loadInfoFromDynamicSegment() (elf_format.cpp:2025)
by 0x3003AA: retdec::fileformat::ElfFormat::initStructures() (elf_format.cpp:1091)
by 0x2FFFE5: retdec::fileformat::ElfFormat::ElfFormat(...) (elf_format.cpp:1033)
by 0x20B50B: fileinfo::ElfWrapper::ElfWrapper(...) (elf_wrapper.cpp:18)
Address 0x50 is not stack'd, malloc'd or (recently) free'd
s3rvac
changed the title
fileinfo crashes in ElfFormat::addSymbolTable
fileinfo crashes in ElfFormat::addSymbolTable() due to invalid memory read
Mar 6, 2018
fileinfo crashes in
ElfFormat::addSymbolTable
Input
fileinfo FILE
addSymbolTable.zip
Output
Backtrace:
From master (63f1a3de)
The text was updated successfully, but these errors were encountered: