mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-26 00:34:45 +02:00
Check the ZIM header, dimensions, mip count, allocation arithmetic, and uncompressed payload size before allocating or copying image data. This prevents crafted texture files from overflowing the image buffer.