RTEMS | testsuites/validation/tx-call-within-isr.c: Address dangling pointer (!731)

Joel Sherrill (@joel) gitlab at rtems.org
Thu Sep 18 19:08:21 UTC 2025



Joel Sherrill created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/731

Project:Branches: joel/rtems:fix-dangling-pointer-warnings to rtems/rtos/rtems:main
Author:   Joel Sherrill
Assignee: Joel Sherrill
Reviewer: Kinsey Moore


## Summary

testsuites/validation/tx-call-within-isr.c: Address dangling pointer

On the genmcf548x BSP variants, the "request" local variable was
flagged as having a pointer taken and passed to subroutines. GCC
is unable to detect that the "request" variable is removed from
the chain in an ISR. Disabled -Wdangling-pointer for the single
test function CallWithinISR().


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/731
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/20250918/779b2286/attachment.htm>


More information about the bugs mailing list