mirror of
https://github.com/quasar/Quasar.git
synced 2026-04-25 23:35:58 +03:00
[PR #259] [MERGED] Better server validation #1065
Labels
No labels
bug
bug
cant-reproduce
discussion
duplicate
easy
enhancement
help wanted
improvement
invalid
need more info
pull-request
question
wont-add
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Quasar#1065
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/quasar/Quasar/pull/259
Author: @yankejustin
Created: 6/2/2015
Status: ✅ Merged
Merged: 6/3/2015
Merged by: @MaxXor
Base:
master← Head:ClientInputSafety📝 Commits (4)
a4defceSystemHandler validationbf5b517SurveillanceHandler validation81c9b23MiscHandler validation2d08378Moved validation a bit higher📊 Changes
3 files changed (+20 additions, -4 deletions)
View changed files
📝
Server/Core/Commands/MiscHandler.cs(+4 -1)📝
Server/Core/Commands/SurveillanceHandler.cs(+10 -0)📝
Server/Core/Commands/SystemHandler.cs(+6 -3)📄 Description
Reason
A client should never have the ability to break the server (cause an uncaught exception) by sending packets with invalid or otherwise unusable data.
Changes
- Added more restrictive validation to ensure usable information by the received packets on the handlers before use. This makes sure that a client that may make a strange request with bad data without causing a server crash.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.