summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2018-09-13 20:16:43 -0400
committerGravatar Lioncash2018-09-13 23:07:23 -0400
commitaccd1f17e451dfe23350055b5c1377846f3dce77 (patch)
tree8a4b6896a20ab7823e2ebe9a97e39af4b27295c7 /src/core/hle/kernel/thread.cpp
parentkernel/svc: Sanitize addresses and sizes within svcMapMemory() and svcUnmapMe... (diff)
downloadyuzu-accd1f17e451dfe23350055b5c1377846f3dce77.tar.gz
yuzu-accd1f17e451dfe23350055b5c1377846f3dce77.tar.xz
yuzu-accd1f17e451dfe23350055b5c1377846f3dce77.zip
kernel/svc: Sanitize addresses, permissions, and sizes within svcMapSharedMemory() and svcUnmapSharedMemory()
Part of the checking done by the kernel is to check if the given address and size are 4KB aligned, as well as checking if the size isn't zero. It also only allows mapping shared memory as readable or read/write, but nothing else, and so we shouldn't allow mapping as anything else either.
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
0 files changed, 0 insertions, 0 deletions