Kawe Mazidjatari 51ea9c7c4f CUserCmd hardening
Fix several exploitable bugs in the CUserCmd class. Some of these have been used to exploit/cheat in-game. Fixes contain:
- Camera position clamping (the only patch that hasn't been tested yet!)
- Weapon activity exploit, allowing player to infinitely throw ordnances, and perform other 'cheats'.
- Akimbo exploit + server crasher, allowing client to set multiple inventory weapons as active. The active weapon index bounds were also not checked, a properly crafter CUserCmd message would therefore be able to crash the server.

Note that this does not fix all issues related to the UserCmd class; further reversing and testing revealed there is more to be fixed, these fixes will get implemented with a future commit.
2023-06-13 17:43:32 +02:00
..
2023-05-10 00:05:38 +02:00
2023-05-10 00:05:38 +02:00
2023-06-13 17:43:32 +02:00
2023-05-10 00:05:38 +02:00
2023-06-05 01:45:33 +02:00
2023-05-06 16:23:56 +02:00
2023-01-22 12:04:21 +01:00
2022-12-03 02:58:34 +01:00
2023-03-27 17:42:55 +02:00
2023-01-23 23:40:40 +01:00
2023-05-06 12:16:24 +02:00
2022-11-17 17:51:37 +01:00
2022-12-03 02:57:11 +01:00
2022-12-03 02:57:11 +01:00
2023-05-10 00:05:38 +02:00
2023-05-20 14:03:44 +02:00
2023-03-27 17:42:55 +02:00
2023-04-10 22:30:57 +02:00
2022-09-25 13:36:55 +02:00
2023-03-28 01:24:55 +02:00
2023-02-06 02:15:01 +01:00
2022-08-09 11:53:33 +02:00
2023-05-20 14:04:33 +02:00
2022-09-09 02:28:03 +02:00
2022-09-25 13:36:55 +02:00
2023-03-01 00:09:38 +01:00
2022-08-30 01:22:53 +02:00
2022-08-30 01:22:53 +02:00
2022-12-03 02:57:11 +01:00
2023-01-19 15:06:08 +01:00
2023-02-13 23:46:37 +01:00
2023-01-20 17:20:50 +01:00