If object has wrong (large) string table index and
also incorrect large value for amount of sections in total,
then section index passes the check:
if (Index >= getNumSections())
return object_error::invalid_section_index;But result pointer then is far after end of file data, what
result in a crash.
Patch fixes the issue.