Skip to content
Commit 5f0650b5 authored by Wayne Ren's avatar Wayne Ren Committed by Johan Hedberg
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>
parent bf8caf39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment