mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-07 13:39:55 +00:00
sceAjmBatchJobRunSplit cast the size_t buffer counts to 32-bit before the range check in JobRejected, so a count such as 2^32 + 1 was truncated to 1 and accepted, and the job ran with the wrong buffer count. Check the full counts against 0xff first and refuse with the invalid-parameter error the other range checks use.