RTEMS | Fix potential crash issue which caused by interrupt handle logic (!473)

Lucian Silistru (@lsilistr) gitlab at rtems.org
Mon May 12 15:48:58 UTC 2025




Lucian Silistru commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/473#note_122529


The issue is that bsp_interrupt_get_dispatch_table_slot in record can replace the weak bsp_interrupt_get_dispatch_table_slot in generic, and break interrupt handling, at link time. And without RECORD_ENABLE being defined.


I've quickly workaround-ed it by swapping source files around in the yml but as I think about a fix all that comes to mind is moving this array and (strong) function to extension confdef header, under the config.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/473#note_122529
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250512/f02ba4e0/attachment.htm>


More information about the bugs mailing list