rehlds/rehlds
IgnacioDM 19e3a5df56 Fix (Re)HLDS exploit (Can't use keys or values with a ")
Assume two clients connect with the following string

```connect 48 12345678  \prot\2\unique\-1\raw\261578371d95a424925835ca44f82811   \cl_lw\1\cl_lc\1\*hltv\1\rate\10000\cl_updaterate\20\hspecs\0\hslots\0\hdelay\30\name\test"```

Name will be parsed as ```test"```

Then in ```SV_CheckForDuplicateNames```, ```Info_SetValueForKey``` will fail because of the quotes, and an infinite loop will occur.

I also added a check for ```\```, altough it's technically impossible to appear, it never hurts to be extra careful with this kind of client input.

TODO (by others sorry, really busy atm):
- Fix ```COM_Parse``` so that you can't inject quote marks. Other exploits may currently exist that also rely on this bug.
2018-04-01 19:11:44 +04:00
..
common Move math sse to macros REHLDS_SSE 2017-12-09 17:07:39 +07:00
dedicated Fixes #547 2017-12-09 21:00:18 +07:00
dlls [NEED TESTS AND REVIEWS] Reworked EXT_FUNC usage (#513) 2017-08-05 01:57:36 +05:00
engine Fix (Re)HLDS exploit (Can't use keys or values with a ") 2018-04-01 19:11:44 +04:00
filesystem FileSystem: Fixes #552 2017-12-11 18:10:16 +07:00
game_shared Add WIN32_LEAN_AND_MEAN to prevent tons of unused windows definitions from headers. (#470) 2017-05-12 00:06:45 +03:00
HLTV HLTV: Rename GROUP_UNKNOWN to GROUP_MULTICAST 2017-12-15 01:39:49 +07:00
hookers Removed HOOK_ENGINE 2017-12-12 18:32:38 +07:00
lib asmlib update 2016-12-22 19:02:19 +03:00
msvc Reversed CIPRateLimit 2017-12-19 21:34:15 +07:00
pm_shared Removed HOOK_ENGINE 2017-12-12 18:32:38 +07:00
public ReHLDS API: Implemented CRehldsServerStatic::GetMaxClientsLimit 2018-01-24 17:34:06 +07:00
rehlds ReHLDS API: Implemented CRehldsServerStatic::GetMaxClientsLimit 2018-01-24 17:34:06 +07:00
testsuite Const-like defines -> consts 2017-04-26 04:51:40 +04:00
unittests HLTV-Core: Fixed wrong size of lightstyles 2017-12-09 23:24:18 +07:00
version Refactoring of versioning 2016-11-07 19:27:06 +07:00
build.gradle Removed HOOK_ENGINE 2017-12-12 18:32:38 +07:00