Files
AnyPS5/docs/dev/debt/libScePngDec.md
T
KernelPanicNTandClaude Opus 5.5 ef897dc274 fix(libScePngDec): reject a maximum image width above 1000000
The PS5 module checks max_image_width - 1 > 999999 in
scePngDecQueryMemorySize and scePngDecCreate and returns
0x80690003 (INVALID_PARAM). This returned 0x80690002 (INVALID_SIZE)
and accepted a width of 1000001.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-19 10:36:50 +00:00

536 B

libScePngDec technical debt

Unknown function info

  • scePngDecQueryMemorySize, scePngDecCreate (libScePngDec) - the work memory is a fixed 0x20 bytes, because decoding uses host memory; the PS5 module asks for ((max_image_width + 0x47) & ~7) * (8 << attribute) plus a constant, as read from the 3.20 module by prosper. A null parameter returns 0x80690003; prosper returns 0x80690001 when it cannot read the parameter, which was not measured. Closes when: measured on a PS5