Skip to content
Commit 8fa136d9 authored by Wayne Ren's avatar Wayne Ren Committed by David Leach
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 9d3186c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment