mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-08-31 09:45:24 +02:00
- InitContextFromTrackInfo now rejects files where sampleSize (from blockAlign) exceeds the buffer size, instead of only clamping later in DecodeForSas. Keep the DecodeForSas check as defense-in-depth since a large buffer could still allow a crafted packet to overflow the fixed assembly buffer. - CChunkFileReader::Verify now returns ERROR_BROKEN_STATE if bounds checking fails, so modified savestates are rejected here too.