Skip to content

Conversation

@sonny-tel
Copy link
Contributor

This adds a workaround to the fact that flooding NET_ReceiveDatagram with invalid packets, (namely invalid LZSS compression (-3) packets see engine.dll+0x21B735) causes the server to stop receiving that frame. This adds a configurable number of times to iterate listening per call from NET_GetPacket.

Basically just pasted from R1Delta security_fixes.cpp

Code review:

🙂

Testing:

idk probably works 👍

@github-actions github-actions bot added needs testing Changes from the PR still need to be tested needs code review Changes from PR still need to be reviewed in code labels Dec 27, 2025
@ASillyNeko
Copy link

image

@ASillyNeko
Copy link

The formatter is gonna kill you.

@EM4Volts
Copy link
Contributor

is fine, works, top10 prs of all time,

Copy link
Contributor

@AllusiveWheat AllusiveWheat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ASpoonPlaysGames ASpoonPlaysGames merged commit f8c3371 into R2Northstar:main Dec 27, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs code review Changes from PR still need to be reviewed in code needs testing Changes from the PR still need to be tested

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

5 participants