mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +08:00
(WARC): additional entry name sanity check.
This commit is contained in:
parent
30a8e741e7
commit
c48cc58483
@ -143,7 +143,7 @@ namespace GameRes.Formats.ShiinaRio // 椎名里緒
|
||||
entry.IsPacked = entry.Size != entry.UnpackedSize;
|
||||
entry.FileTime = header.ReadInt64();
|
||||
entry.Flags = header.ReadUInt32();
|
||||
if (0 != name.Length && unique_names.Add (name))
|
||||
if (0 != name.Length && name_buf[0] < 0x80 && unique_names.Add (name))
|
||||
dir.Add (entry);
|
||||
}
|
||||
if (0 == dir.Count)
|
||||
|
Loading…
x
Reference in New Issue
Block a user