Skip to content
Commit de09c936 authored by Wayne Ren's avatar Wayne Ren Committed by Anas Nashif
Browse files

arch: arc: fix the bug of blt in syscall



blt is signed comparsion, if r6 is a negative number created by
malicious code, it will pass the check, bring a secure risk.

use blo (unsinged comparison) to do the check.

Signed-off-by: default avatarWayne Ren <wei.ren@synopsys.com>
Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
parent dae2e71c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment