Files
ppsspp/Common
Henrik Rydgård 58d4759ceb Add bounds checking to savestate deserialization
PointerWrap tracked no end-of-buffer, so DoState() implementations could
read past the end of a crafted or truncated savestate via DoVoid's
unchecked memcpy, and DoVector could resize to an attacker-controlled
size before reading.

- PointerWrap now tracks a read end; DoVoid/ExpectVoid fail (MODE_NOOP)
  before reading out of bounds.
- String reads are bounds-checked for the whole string including NUL.
- DoVector rejects sizes that can't fit in the remaining buffer.
- LoadPtr takes the buffer size and sets the read end.
- Capping the decompression buffer allocation in LoadFile.
2026-08-01 11:57:24 +02:00
..
2026-07-27 18:37:28 +02:00
2026-07-30 10:03:15 +02:00
2026-07-21 14:00:02 +02:00
…
…
2025-08-31 13:37:43 +02:00
…
2026-01-30 14:10:32 +01: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
2025-09-02 13:26:04 +02:00
2025-08-31 13:37:43 +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