Mojira Archive
MC-85027

Villager selling null crashes clients.

The command

/summon Villager ~ ~ ~ {Offers:{Recipes:[{buy:{id:1},sell:{}}]}}

will crash any client that attempts to interact with the villager and place an item into the "buy" slot. This allows servers to crash clients by sending bad villager data.

I assume this is due to either a mishandled null or a an issue with a draw call.

The relevant client crash report: https://gist.github.com/drXor/14433dbbf43705c46e36

Fixed

Xor Boole

2015-08-04, 06:32 PM

2016-04-05, 06:37 PM

2015-11-02, 12:52 AM

0

3

Unconfirmed

Minecraft 1.8.8

Minecraft 15w44b