mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
fix: Crash when parsing process memory provider regions
This commit is contained in:
@@ -438,7 +438,7 @@ namespace hex::plugin::builtin {
|
||||
const u64 end = std::stoull(split[0].substr(split[0].find('-') + 1), nullptr, 16);
|
||||
|
||||
std::string name;
|
||||
if (split.size() >= 5)
|
||||
if (split.size() > 5)
|
||||
name = combineStrings(std::vector(split.begin() + 5, split.end()), " ");
|
||||
|
||||
m_memoryRegions.insert({ { start, end - start }, name });
|
||||
|
||||
Reference in New Issue
Block a user