Mirror/Assets
mischa 28859fb84a
fix: NetworkReader ReadBytes/Array<T>/List<T> allocation limit to prevent ClientToServer [SyncVar] allocation attacks [credit: James] (#3562)
* fix: NetworkReader.ReadArray: remove misleading 'length > reader.Remaining' check since not all arrays are byte arrays

* fix: NetworkReader AllocationLimit to prevent ClientToServer [SyncVar] allocation attacks [credit: James]

* ReadBytes: check allocation limit

* ReadList: check allocation limit

* ReadArray: check allocation limit

* ReadTexture2D: check allocation limit

* limit as count

* writer checks

* test wip

* throw

* add test

* test
2023-07-27 10:27:00 +02:00
..
Mirror fix: NetworkReader ReadBytes/Array<T>/List<T> allocation limit to prevent ClientToServer [SyncVar] allocation attacks [credit: James] (#3562) 2023-07-27 10:27:00 +02:00
ScriptTemplates feature: allow NetworkBehaviour components in children. solves #2276 (#3486) 2023-05-27 08:25:53 +08:00
Mirror.meta
ScriptTemplates.meta feat: Add ScriptTemplates to repo and package (#2559) 2021-02-05 09:34:22 +08:00