8371093: Assert "section header string table should be loaded" failed on debug VM

Reviewed-by: phubner, jsjolen
This commit is contained in:
Yasumasa Suenaga 2025-11-13 04:29:22 +00:00
parent 676e6fd8d5
commit b6ba1ac9aa

View File

@ -114,6 +114,11 @@ ElfFile* ElfDecoder::get_elf_file(const char* filepath) {
file = new (std::nothrow)ElfFile(filepath);
if (file != nullptr) {
_decoder_status = file->get_status();
if (has_error()) {
delete file;
return nullptr;
}
if (_opened_elf_files != nullptr) {
file->set_next(_opened_elf_files);
}