mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 01:33:45 +01:00
Reject non-positive or oversized dimensions independently in the PNG header peeker, matching the existing 8192 pixel decode limit. Use checked size_t arithmetic before allocating replacement RGBA data so crafted dimensions cannot overflow the allocation size.