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

Villager selling null crashes clients.

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: