Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-85027

Villager selling null crashes clients.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 15w44b
    • Minecraft 1.8.8
    • None
    • OSX 10.9, Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
    • Unconfirmed

      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

            Unassigned Unassigned
            xor Xor Boole
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: