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 <Ioannis.Glaropoulos@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| arm_interrupt | ||
| arm_irq_advanced_features | ||
| arm_irq_vector_table | ||
| arm_no_multithreading | ||
| arm_ramfunc | ||
| arm_runtime_nmi | ||
| arm_sw_vector_relay | ||
| arm_thread_swap | ||
| arm_tz_wrap_func | ||