mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-09-23 07:14:49 +00:00
Make ImpulseReactor check safer for null values
This commit is contained in:
@@ -32,7 +32,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
return $"Stardock Product Activation {Tools.Utilities.GetInternalVersion(pex)}";
|
||||
|
||||
// TODO: Check for CVP* instead?
|
||||
bool containsCheck = pex.ExportNameTable?.Any(s => s.StartsWith("CVPInitializeClient")) ?? false;
|
||||
bool containsCheck = pex.ExportNameTable?.Any(s => s?.StartsWith("CVPInitializeClient") ?? false) ?? false;
|
||||
bool containsCheck2 = false;
|
||||
|
||||
// Get the .rdata section strings, if they exist
|
||||
|
||||
Reference in New Issue
Block a user