mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-18 08:11:21 +00:00
fs.mitm: Fix pointer buffer size passed to mitm'd commands
This commit is contained in:
parent
6a58307d83
commit
40a6b7bb54
@ -108,7 +108,7 @@ class MitMSession final : public IWaitable {
|
||||
rawdata_start = (u32 *)r.Raw;
|
||||
retval = 0xF601;
|
||||
if (r.CommandType == IpcCommandType_Request || r.CommandType == IpcCommandType_RequestWithContext) {
|
||||
retval = this->service_object->dispatch(r, c, rawdata_start[2], (u8 *)this->pointer_buffer, sizeof(this->pointer_buffer));
|
||||
retval = this->service_object->dispatch(r, c, rawdata_start[2], (u8 *)this->pointer_buffer, this->pointer_buffer_size);
|
||||
}
|
||||
|
||||
/* 0xF601 --> Dispatch onwards. */
|
||||
|
Loading…
Reference in New Issue
Block a user