Trim file names with null characters to prevent causing trouble
This commit is contained in:
parent
87aaf78a97
commit
013438faf4
@ -30,6 +30,8 @@ namespace UniversalEditor.DataFormats.FileSystem.Descent
|
||||
while (!br.EndOfStream)
|
||||
{
|
||||
string FileName = br.ReadFixedLengthString(13);
|
||||
FileName = FileName.TrimNull();
|
||||
|
||||
int length = br.ReadInt32();
|
||||
long offset = br.Accessor.Position;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user