We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6499cf5 commit e6b1f1fCopy full SHA for e6b1f1f
Il2CppDumper/Il2Cpp/Metadata.cs
@@ -48,6 +48,10 @@ public Metadata(Stream stream) : base(stream)
48
throw new InvalidDataException("ERROR: Metadata file supplied is not valid metadata file.");
49
}
50
var version = ReadInt32();
51
+ if (version < 0 || version > 1000)
52
+ {
53
+ throw new InvalidDataException("ERROR: Metadata file supplied is not valid metadata file.");
54
+ }
55
if (version < 16 || version > 29)
56
{
57
throw new NotSupportedException($"ERROR: Metadata file supplied is not a supported version[{version}].");
0 commit comments