Files
ppsspp/UI
Henrik Rydgård a7b1b319ce Limit PNG decode dimensions to prevent decompression bombs
pngLoadPtr allocated the decoded buffer directly from attacker-controlled
PNG IHDR dimensions with no upper bound, so browsing a crafted game icon
or savedata could trigger a multi-gigabyte allocation.

- Add maxWidth/maxHeight parameters to pngLoadPtr (default 8192x8192)
  and reject images larger than the limits.
- Thread the limits through LoadTextureLevelsFromFileData,
  CreateTextureFromFileData, and CreateTextureFromFile.
- Limit game icons to 256x128 in GameInfoCache and IconCache.
2026-08-01 11:41:24 +02:00
..
2025-11-24 20:33:13 +01:00
2026-07-14 15:44:17 +02:00
2026-05-13 17:25:52 +02:00
2026-05-28 10:56:35 +02:00
2026-07-24 15:31:41 +02:00
2026-07-18 11:57:48 +02:00
2026-06-24 23:04:17 +02:00
2026-07-30 18:27:38 +02:00
2026-06-24 23:04:17 +02:00
2026-06-24 23:04:17 +02:00
2026-07-30 18:44:44 +02:00
2026-05-28 10:56:35 +02:00
2026-01-02 14:20:20 +01:00
2026-05-13 17:25:52 +02:00
2026-02-24 00:56:45 +01:00
2026-02-24 00:56:45 +01:00
2026-07-18 11:57:48 +02:00