mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-09-22 23:05:12 +00:00
Invalid export should be null, not empty
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user