Files
AnyPS5/core
JJenkxandClaude Opus 5.5 c1cc55c47e fix(libc): report fopen_s and freopen_s argument errors to the constraint handler
The libc.prx that titles ship (PPSA07923, PPSA05916) calls the
constraint handler with EINVAL and a null pointer when fopen_s or
freopen_s gets a null FILE ** ("fopen_s: bad FILE ** argument") or a
null filename, mode or stream ("fopen_s: bad argument"); freopen_s
reports the fopen_s messages too. main returned EINVAL without the
call. Return values and the stored stream are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 18:16:54 -04:00
..