mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-19 19:07:48 +02: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.