Skip to content

Fix Routing's methods_ Bitmask Overflow#1168

Closed
DavidPetkovsek wants to merge 2 commits intoCrowCpp:masterfrom
DavidPetkovsek:master
Closed

Fix Routing's methods_ Bitmask Overflow#1168
DavidPetkovsek wants to merge 2 commits intoCrowCpp:masterfrom
DavidPetkovsek:master

Conversation

@DavidPetkovsek
Copy link
Copy Markdown
Contributor

Methods have more than 32 values which means we can't use a 32 bit value to represent it.

If someone attempts to use an HTTPMethod towards the end of the enum set with this mask, it will overflow and will act as if a different HTTPMethod was used.

@DavidPetkovsek DavidPetkovsek changed the title Fix Routing's methods_ Bitmask overflow Fix Routing's methods_ Bitmask Overflow Mar 24, 2026
@DavidPetkovsek DavidPetkovsek deleted the branch CrowCpp:master March 24, 2026 16:08
@DavidPetkovsek DavidPetkovsek deleted the master branch March 24, 2026 16:08
@DavidPetkovsek
Copy link
Copy Markdown
Contributor Author

Was recreated as #1169

This was automatically closed by github because of a repo restructure on my fork's side.

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