mojira.dev
MC-123026

Command parser does not check for int-overflows

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".

Linked issues

Attachments

Comments 1

This is an issue.

Boramir yavuzyılmaz

(Unassigned)

Confirmed

/tp, crash

Minecraft 17w49b

Retrieved