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

Command parser does not check for int-overflows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 17w49b
    • Fix Version/s: None
    • Labels:
    • Environment:
      Operating system : Windows 10 Home Single Language x64
      Java Version : Java 8 update 144
      Launcher Profile Options : Default
    • Confirmation Status:
      Confirmed

      Description

      The bug

      The new Minecraft command parser does not check for int-overflows in command arguments. This causes the game to instantly freeze as soon as the command is executed.

      How to reproduce

      1. Execute the command /tp ~ 9223372036854775807 ~
      2. Notice that the game freezes
      3. Trying to rejoin the world instantly kicks the player with the message "Invalid move player packet received".

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Virus_docx Boramir yavuzyılmaz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: