diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-09-13 19:09:04 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-09-13 21:34:48 -0400 |
| commit | 3e8e34221ef6e255daf49785b2ee5fdda9070367 (patch) | |
| tree | 79e5e5b17f95e21eef659d9ca9d2f7638d418c97 /src/core/file_sys/program_metadata.cpp | |
| parent | bdd44b2044fe03facb244b3462d2fc4fdcc97b46 (diff) | |
kernel/svc: Sanitize heap sizes within svcSetHeapSize()
The kernel checks if the given size is a multiple of 2MB and <= to 4GB
before going ahead and attempting to allocate that much memory.
Diffstat (limited to 'src/core/file_sys/program_metadata.cpp')
0 files changed, 0 insertions, 0 deletions
