mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-09-22 23:05:03 +00:00
Fix broken COFF string table reading
This commit is contained in:
@@ -1936,7 +1936,7 @@ namespace BurnOutSharp.Builder
|
||||
var strings = new List<string>();
|
||||
|
||||
uint totalSize = coffStringTable.TotalSize;
|
||||
while (totalSize > 0)
|
||||
while (totalSize > 0 && data.Position < data.Length)
|
||||
{
|
||||
long initialPosition = data.Position;
|
||||
string str = data.ReadString();
|
||||
|
||||
Reference in New Issue
Block a user