Check varargs bounds in intptr_t syscall(long n, ...)
We should check how many arguments are actually accessible via va_arg
. Going beyond the number of actual arguments will result in capability fault.
We should check how many arguments are actually accessible via va_arg
. Going beyond the number of actual arguments will result in capability fault.