mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-30 07:42:13 +00:00
fs.mitm: Fix pointer buffer size passed to mitm'd commands
This commit is contained in:
parent
6a58307d83
commit
40a6b7bb54
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ class MitMSession final : public IWaitable {
|
||||||
rawdata_start = (u32 *)r.Raw;
|
rawdata_start = (u32 *)r.Raw;
|
||||||
retval = 0xF601;
|
retval = 0xF601;
|
||||||
if (r.CommandType == IpcCommandType_Request || r.CommandType == IpcCommandType_RequestWithContext) {
|
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. */
|
/* 0xF601 --> Dispatch onwards. */
|
||||||
|
|
Loading…
Reference in a new issue