Mojira Archive
MCPE-152884

Minecraft does not check the length of mp_username in options.txt

Minecraft does not check the size (length/number of characters) in the player's nickname in the file options.txt

Steps to reproduce:

1.Open the file options.txt,edit the value in mp_username (For example:123456789a123456789b123456789c123456789),save the file.

2.Open Minecraft and you will see this nickname.

Expected results:

Minecraft will check the number of symbols in the nickname and limit its size accordingly.

Actually:

Minecraft does not check the nickname, so you can specify absolutely any value.

Note:Why is this important?

With this method, you can specify a nickname of any size (71 MB nickname text...) and crash LAN servers, and if you really try,WAN servers.

You can also specify an empty nickname, of course for not good purposes.

Fixed

Copitoch

2022-03-05, 07:24 PM

2022-10-25, 07:29 PM

2022-10-25, 07:29 PM

0

1

Confirmed

761969

1.18.30.20 Beta, 1.18.12 Hotfix, 1.19.10

1.19.40.20 Preview, 1.19.40