summaryrefslogtreecommitdiff
path: root/src/input_common/sdl/sdl_impl.h
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
commitc6147a439d16112a0794b3fb98e825a9be864066 (patch)
tree5471089bf0b6b0b58517325fef2c6b0a634ac9cc /src/input_common/sdl/sdl_impl.h
parentf770c17d011e76cb268df5ba5d687609a0f514d4 (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/input_common/sdl/sdl_impl.h')
0 files changed, 0 insertions, 0 deletions