Missed one NE

This commit is contained in:
Matt Nadareski
2025-09-06 11:59:10 -04:00
parent bd1166cbab
commit 3558ceb890

View File

@@ -15,8 +15,7 @@ namespace BinaryObjectScanner.Packer
public string? CheckExecutable(string file, NewExecutable nex, bool includeDebug)
{
// TODO: Have this return all detected things, not just the first
byte[]? overlayData = null;
try { overlayData = nex.OverlayData; } catch { }
byte[]? overlayData = nex.OverlayData;
// Check the overlay, if it exists
if (overlayData != null && overlayData.Length > 0)