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

tests: arm_no_multithreading: confirm IRQ index being non-negative #34321

Merged

Conversation

ioannisg
Copy link
Member

@ioannisg ioannisg commented Apr 15, 2021

Check that the index returned by the function that looks
for an available IRQ line is non-negative, and do not just
rely on catching this with an ASSERT. That suppresses a
Coverity out-of-bounds warning.

Signed-off-by: Ioannis Glaropoulos [email protected]

Fixes #34007

Check that the index returned by the function that looks
for an available IRQ line is non-negative, and do not just
rely on catching this with an ASSERT. That suppresses a
Coverity out-of-bounds warning.

Signed-off-by: Ioannis Glaropoulos <[email protected]>
@github-actions github-actions bot added the area: Tests Issues related to a particular existing or missing test label Apr 15, 2021
@ioannisg ioannisg added Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. bug The issue is a bug, or the PR is fixing a bug labels Apr 15, 2021
@galak galak merged commit 13cde70 into zephyrproject-rtos:master Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Coverity CID: 220534] Out-of-bounds access in tests/arch/arm/arm_no_multithreading/src/main.c
3 participants