mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-25 16:24:53 +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.