Files
AnyPS5/core/libs/prx/libSceNpAuth
XairRrR b491b21388 fix(libSceNpAuth): reject a null result pointer in sceNpAuthPollAsync
sceNpAuthPollAsync did not check its result pointer. With a null pointer
it looked up the request, returned 1 on the first poll of a processed
async request and 0 (finished) on later polls without delivering the
result, so a caller saw a finished request with no result instead of an
error.

It now returns ORBIS_NP_AUTH_ERROR_INVALID_ARGUMENT (0x80550301) for a
null result pointer before the request lookup, as sceNpAuthWaitAsync
already does and as shadPS4 does for both calls. The title call sites
recorded in the libSceNpAuth debt also treat 0x80550301 from Poll as an
invalid result pointer.

AI-assisted: yes
2026-10-29 07:24:20 +01:00
..