From 5d9dbec5b8d3dea67eed4aad5e72bff5b7279813 Mon Sep 17 00:00:00 2001 From: Orange Date: Wed, 10 Jun 2026 15:22:17 +0300 Subject: [PATCH] reverted fix --- source/utility/pe_pattern_scan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/utility/pe_pattern_scan.cpp b/source/utility/pe_pattern_scan.cpp index 08906a3..2bd9610 100644 --- a/source/utility/pe_pattern_scan.cpp +++ b/source/utility/pe_pattern_scan.cpp @@ -474,7 +474,7 @@ namespace omath { const auto* section = section_table + i; - if (std::string_view{section->name, sizeof(section->name)} != target_section_name + if (std::string_view{section->name} != target_section_name || section->size_raw_data == 0) continue;