lukaszraczylo
|
775de2ada1
|
Fix cache serialisation (#117)
* Fix cache serialisation
* fix(cache): add integer overflow protection for serialization
- [x] Add maxCacheEntrySize constant (64 MiB) to prevent memory overflow
- [x] Validate byte slice size before adding marker byte
- [x] Validate JSON-serialized data size before marker addition
- [x] Add comprehensive overflow protection test cases
|
2026-01-08 22:06:19 +00:00 |
|