mirror of https://github.com/RPCS3/rpcs3.git
cellSysutilRegisterCallback: fix potential read out of bounds
This commit is contained in:
parent
985b222123
commit
b01d8e01e3
|
@ -465,7 +465,7 @@ error_code cellSysutilCheckCallback(ppu_thread& ppu)
|
|||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code cellSysutilRegisterCallback(s32 slot, vm::ptr<CellSysutilCallback> func, vm::ptr<void> userdata)
|
||||
error_code cellSysutilRegisterCallback(u32 slot, vm::ptr<CellSysutilCallback> func, vm::ptr<void> userdata)
|
||||
{
|
||||
cellSysutil.warning("cellSysutilRegisterCallback(slot=%d, func=*0x%x, userdata=*0x%x)", slot, func, userdata);
|
||||
|
||||
|
|
Loading…
Reference in New Issue