Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arch: arc: fix the bug of blt in syscall #23328

Conversation

vonhust
Copy link
Collaborator

@vonhust vonhust commented Mar 7, 2020

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: Wayne Ren wei.ren@synopsys.com

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: Wayne Ren <wei.ren@synopsys.com>
@vonhust vonhust requested a review from ruuddw as a code owner March 7, 2020 04:52
@vonhust vonhust requested a review from abrodkin March 7, 2020 04:52
@zephyrbot zephyrbot added the area: ARC ARC Architecture label Mar 7, 2020
@ioannisg ioannisg requested a review from jhedberg March 9, 2020 07:50
@jhedberg jhedberg added this to the v2.2.0 milestone Mar 9, 2020
@jhedberg jhedberg added the bug The issue is a bug, or the PR is fixing a bug label Mar 9, 2020
@jhedberg jhedberg merged commit 5f0650b into zephyrproject-rtos:master Mar 9, 2020
@vonhust vonhust deleted the topic-syscall branch March 12, 2020 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ARC ARC Architecture bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants