[MCPE-21501] Sending a translation-type message containing "%0" causes the game to freeze Created: 23/Apr/17  Updated: 01/Nov/17  Resolved: 01/Nov/17

Status: Resolved
Project: Minecraft (Bedrock codebase)
Component/s: None
Affects Version/s: 1.0.7.0, 1.1.0.8, 1.1.4.51, 1.2.2.3, 1.2.5.0
Fix Version/s: 1.2.5.15

Type: Bug
Reporter: [MCPE Helper] Dylan K. Taylor
Resolution: Fixed Votes: 1
Labels: crash, translation

Confirmation Status: Confirmed
Platform: Phone - Android - LG Other (Specify in description)
CHK:
ADO: 87188

 Description   

This issue has been around since ~0.15, but until recently I had no way to reproduce this in vanilla.

From a server, sending a TextPacket with the Translation type, containing the characters "%0" will cause any clients receiving it to freeze and ultimately crash.

This is now reproducible in vanilla by typing, for example, /me %0 or /say %0.

Expected result

  • Client should simply output "%0" or ignore the message

Actual result

  • Client freezes

Tested on MCPE 1.1.0.8 and MCW10 1.0.7.0 in both singleplayer and on servers.


Generated at Sat Jan 11 15:31:16 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.