Skip to content

Prevent packets from having dangerously sized collections (Electric Boogaloo)#125

Draft
Protonull wants to merge 5 commits intoCivPlatform:mainfrom
Protonull:fix-oversized-packet-crash
Draft

Prevent packets from having dangerously sized collections (Electric Boogaloo)#125
Protonull wants to merge 5 commits intoCivPlatform:mainfrom
Protonull:fix-oversized-packet-crash

Conversation

@Protonull
Copy link
Contributor

This PR will implement #121

These had a weird mixture of interface and namespace. They've now just been replaced with classes and each consolidated into one file.
@Protonull Protonull force-pushed the fix-oversized-packet-crash branch from f266dd7 to 7c1505d Compare March 24, 2026 10:40
Turns out that doing an aggregate function like MAX without having a group by, in this case, is a *bad* idea. Also I seemed to have forgotten that regions are 32x32, not 16x16 :s
@Protonull Protonull force-pushed the fix-oversized-packet-crash branch from 7c1505d to 37be1cf Compare March 24, 2026 10:53
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.

1 participant