summaryrefslogtreecommitdiff
path: root/src/core/loader/nro.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-10 14:18:27 -0400
committerLioncash <mathew1800@gmail.com>2018-10-10 20:30:49 -0400
commit72e9cb523e1adfe744aab1d9a05f3c804fe86ccb (patch)
tree50b2141eebfa4e50fa8fb71fb03eeb32db6791c1 /src/core/loader/nro.cpp
parent03ec936ca007364e2c287f78dbbe8c5551dc2234 (diff)
svc: Add missing address range sanitizing checks to MapMemory/UnmapMemory
This adds the missing address range checking that the service functions do before attempting to map or unmap memory. Given that both service functions perform the same set of checks in the same order, we can wrap these into a function and just call it from both functions, which deduplicates a little bit of code.
Diffstat (limited to 'src/core/loader/nro.cpp')
0 files changed, 0 insertions, 0 deletions