cannon: Limit mmap allocations (#285)
* cannon: Basic memory protections
Add memory protections against high memory allocations to the VM.
This prevents large allocations from causing the `heap` to overflow and
wrap into low memory, which could overwrite code and cause arbitrary code execution.
---------
Co-authored-by:
inphi <mlaw2501@gmail.com>
Showing
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Please register or sign in to comment