Files
ppsspp/Common
Henrik RydgårdandClaude Sonnet 5 1eab737e4d Serialize: guard List/Deque/Map/Set against corrupted size fields
DoVector already rejects an attacker/corruption-controlled size that
would resize far beyond what's actually left in the savestate buffer.
DoList/DoDeque/DoMap/DoMultimap/DoSet never got the same treatment -
a corrupted count field (e.g. 0xFFFFFFFF) drove an immediate huge
resize (list/deque) or an unbounded loop of allocations (map/set)
before any per-element bounds checking kicked in. All five now check
the declared count against PointerWrap::Remaining() first.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01L4QAoxV2KY7ek4PcZw3WvY
2026-08-10 01:00:28 +02:00
..
2026-08-09 22:10:54 +02:00
2026-08-09 22:10:54 +02:00
2026-08-09 19:03:08 +02:00
…
…
…
2026-01-30 14:10:32 +01:00
2026-08-08 18:18:28 +02:00
2026-03-30 11:34:19 -06:00
2026-07-30 10:03:15 +02:00
2026-07-29 14:42:24 +02:00
2026-06-02 17:16:45 +02:00
…
2026-05-16 10:40:08 +02:00
…
…
2026-07-27 21:33:14 +02:00
2026-07-27 18:37:28 +02:00