mirror of
https://github.com/orange-cpp/omath.git
synced 2026-06-10 09:14:34 +00:00
fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user