Mojira Archive
MC-252418

Creative clients can crash server through nbt component resolvers with book items

Modified clients with creative mode can give themselves books using nbt component resolving to make servers run out of heap space.
To quickly test this yourself without a modified client,

Somehow those nbt components start growing exponentially, see attached crash reports for the stacktrace.

... since the entity nbt is added and also includes that book in both the Inventory and SelectedItem tags, those are serialized multiple times as well

Fixed

[Mod] Nassim Jahnke

[Mojang] Bartosz Bok

2022-06-02, 04:14 PM

2022-06-03, 11:27 AM

2022-06-03, 11:27 AM

0

1

Confirmed

Very Important

Crash

1.18.2, 1.19 Release Candidate 1

1.19 Release Candidate 2