-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Throw on invalid payload length in WebSockets (#57598)
Port of 9eb5680 **Description:** Avoid integer overflow to prevent infinite loop in reading from WebSocket. (also complies better with WebSocket RFC) MSRC 65273 - Prevents DoS attack by sending frames with invalid payload length. **Risk:** Low **Impacted assemblies:** System.Net.WebSockets.dll
- Loading branch information
1 parent
ab0f54a
commit 69de57b
Showing
3 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters