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

boards native_posix: Detect attempt to configure not existing int #68862

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

aescolar
Copy link
Member

Prevent overrunning the irq vector table.
This is not happening today in tree, but coverity thinks it may. Checking for it to prevent it is not a bad idea anyhow, so let's do it.

Fixes #68637

@zephyrbot zephyrbot added the area: native port Host native arch port (native_sim) label Feb 12, 2024
@nordicjm
Copy link
Collaborator

*attempt

@aescolar aescolar changed the title boards native_posix: Detect attemtp to configure not existing int boards native_posix: Detect attempt to configure not existing int Feb 12, 2024
Prevent overrunning the irq vector table.
This is not happening today in tree, but coverity thinks it
may. Checking for it to prevent it is not a bad idea
anyhow, so let's do it.

Signed-off-by: Alberto Escolar Piedras <[email protected]>
@aescolar aescolar force-pushed the isr_declare_coverity branch from 87b60bd to 2de9018 Compare February 12, 2024 11:31
@aescolar aescolar requested a review from nordicjm February 12, 2024 11:31
@aescolar aescolar added 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. labels Feb 12, 2024
@aescolar aescolar added this to the v3.6.0 milestone Feb 12, 2024
@MaureenHelm MaureenHelm merged commit 66a4fe3 into zephyrproject-rtos:main Feb 12, 2024
20 checks passed
@aescolar aescolar deleted the isr_declare_coverity branch February 13, 2024 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: native port Host native arch port (native_sim) 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: 344505] Out-of-bounds access in drivers/timer/nrf_rtc_timer.c
7 participants