This commit is contained in:
2026-06-10 05:22:04 +03:00
parent 00287c7a58
commit 3599a7d592
+2 -1
View File
@@ -474,7 +474,8 @@ namespace omath
{
const auto* section = section_table + i;
if (std::string_view{section->name} != target_section_name || section->size_raw_data == 0)
if (std::string_view{section->name, sizeof(section->name)} != target_section_name
|| section->size_raw_data == 0)
continue;
const auto section_size = section->virtual_size != 0