Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bedrock serverbound_loading_screen malformed packet #944

Merged
merged 6 commits into from
Dec 5, 2024

Conversation

JSbETms
Copy link
Contributor

@JSbETms JSbETms commented Nov 30, 2024

When the serverbound_loading_screen is sent serverbound, the client can be kicked by the server due to a "malformed" packet with the specified paramaters.

{
  violation_type: 'malformed',
  severity: 'terminating',
  packet_id: 312,
  reason: 'BinaryStream read() overflow checkedNumber = 8, mReadPointer = 4, buffer Length is = 5 bytes\n' +
    'readNoHeader failed! packetId: 312'
}

This can be triggered by changing between dimensions using a nether or end portal in a relay server using the docs/API code within bedrock-protocol.
Here is the refrence I have used for the changes made.

@extremeheat
Copy link
Member

Thanks

@extremeheat extremeheat merged commit 9753666 into PrismarineJS:master Dec 5, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants