Paper: massive amount of signs with random data crash client

Created on 27 Feb 2019  路  3Comments  路  Source: PaperMC/Paper

What behavior is expected:

client connects to server and starts rendering signsban鹿 chunks without problems or disconnects

What behavior is observed:

client after entering signsban鹿 chunk gets disconnected and any attempts to reconnect immediately fail

Steps/models to reproduce:

  1. Build massive amount of signs
  2. Fill them with random data at this point chunk turns into signsban鹿
  3. Try entering signsban鹿 chunk and you will be disconnected
  4. Any attempt to reconnect while being in signsban鹿 chunk would fail

___This may include a build schematic, a video, or detailed instructions to help reconstruct the issue___

Plugin list: none

Paper build number: git-Paper-1597

Anything else:

I expect this behavior was allowed by chunks size being not capped at 1MB and reverted after saving ref commit 8448011

singsban鹿 - chunk full of signs filled with random ASCII/Unicode data which can make client disconnect

EDIT: cleanup and fix some sentences

accepted bug

All 3 comments

been on my to do list, i'll knock it out tonight.

:^)

547 and 1601 has fixes now.

we trim any large payloads sent from the client, and for any existing sign in the world, large payloads are trimmed before sending to the client, so it covers existing ban chunks too.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tazuuuu picture tazuuuu  路  3Comments

molor picture molor  路  3Comments

BillyGalbreath picture BillyGalbreath  路  3Comments

dbkynd picture dbkynd  路  3Comments

Shevchik picture Shevchik  路  3Comments