aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/transfer_memory.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-29 18:01:38 -0400
committerLioncash <mathew1800@gmail.com>2019-03-29 18:16:19 -0400
commita764ca6e1a84a291504263bd866d86c85c639648 (patch)
tree5471089bf0b6b0b58517325fef2c6b0a634ac9cc /src/core/hle/kernel/transfer_memory.cpp
parent6584dbafae34dc4dfd75591a4ed140836db818a0 (diff)
kernel/shared_memory: Sanitize supplied size when unmapping
The kernel makes sure that the given size to unmap is always the same size as the entire region managed by the shared memory instance, otherwise it returns an error code signifying an invalid size. This is similarly done for transfer memory (which we already check for).
Diffstat (limited to 'src/core/hle/kernel/transfer_memory.cpp')
0 files changed, 0 insertions, 0 deletions