Files
AnyPS5/docs/dev/debt
JJenkxandClaude Opus 5.5 fb4fb58c87 fix(libc): report strerror_s violations as titles' libc.prx does
The libc.prx that titles ship (PPSA07923, PPSA05916) rejects a
strerror_s capacity above SIZE_MAX >> 3, not SIZE_MAX >> 1, and calls
the constraint handler with "strerror_s: bad argument", EINVAL and a
null pointer for a null destination, a capacity of 0 or one past that
limit. main passed "strerror_s" and the destination, and wrote the
message for a capacity from 2^61 up.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 23:16:52 +01:00
..
…