Create

Create

86M Downloads

Adjustable Crate stack overflow crash + easy to accidently corrupt worlds

Frendigo opened this issue ยท 3 comments

commented

Attempting to open an adjustable crate with an inventory with compound NBT that exceeds NBT packet maximum causes a stack overflow. For clients this makes them unopenable by hand, for servers however, if a rogue deployer attempts to open the crate it will crash the game, and will corrupt the world (making it unjoinable).

It is indeed a similar issue to filter compound nbt packet stack overflow, however it is much more likely to occur by accident (eg: a deployer on a cart happens to attempt to use a crate from your shulker box storage system), storage crates also have 32 slots rather than 18 that filters have, and repeated items arent unecessary (unlike filters).

In terms of rough numbers, it only requires 1 redstone block and 23 shulker boxes with their slots filled with a singular redstone block each to overflow a crate, with shulkers filled with pickaxes with fortune, mending, efficiency and unbreaking this drops to just under 6 shulker boxes: conclusion it is very easy to accidently overflow a crate.

commented

This issue has been marked as stale because it has been inactive for 3 weeks. It will be closed if it remains inactive for another 3 weeks.

commented

This issue has been closed since it has been inactive for 3 weeks since it was marked as stale.

commented

crash-2021-04-17_17.31.37-server.txt
^^^ adjustable crate crash

crash-2021-04-17_19.37.54-server.txt
^^^ filter crash also