Disable symbol section size validation (temporary?)

This commit is contained in:
Serge Lamikhov-Center 2022-01-18 21:33:18 +02:00
parent 58c625e409
commit b6d1a84be0

View File

@ -43,7 +43,8 @@ template <class S> class symbol_section_accessor_template
{ {
Elf_Xword nRet = 0; Elf_Xword nRet = 0;
if ( 0 != symbol_section->get_entry_size() && if ( 0 != symbol_section->get_entry_size() &&
symbol_section->get_size() < symbol_section->get_stream_size() ) { true ) {
// symbol_section->get_size() < symbol_section->get_stream_size() ) {
nRet = nRet =
symbol_section->get_size() / symbol_section->get_entry_size(); symbol_section->get_size() / symbol_section->get_entry_size();
} }