You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MCPE packet 0x38 originating from the client sets a Minecraft block metadata by sending its nbt.
Clients may fool servers and cause performance issues by spamming max size length prefixes in that nbt. fNbt will allocate these massive arrays and this may cause OutOfMemoryExceptions.
Affected tags:
Byte array
String
List
Int array
I suggest adding a MaxBufferSize property to NbtBinaryReader with a convenience proxy in NbtFile.
The text was updated successfully, but these errors were encountered:
MCPE packet 0x38 originating from the client sets a Minecraft block metadata by sending its nbt.
Clients may fool servers and cause performance issues by spamming max size length prefixes in that nbt. fNbt will allocate these massive arrays and this may cause OutOfMemoryExceptions.
Affected tags:
I suggest adding a MaxBufferSize property to NbtBinaryReader with a convenience proxy in NbtFile.
The text was updated successfully, but these errors were encountered: