Invalid export should be null, not empty

This commit is contained in:
Matt Nadareski
2025-09-11 10:49:01 -04:00
parent 2cdf544518
commit 42913c6732

View File

@@ -913,7 +913,7 @@ namespace SabreTools.Serialization.Deserializers
int offset = 0;
var directoryTable = ParseExportDirectoryTable(data, ref offset);
if (directoryTable.ExportFlags != 0)
return obj;
return null;
// Set the export directory table
obj.ExportDirectoryTable = directoryTable;