RTEMS | testsuites/validation: fix setjmp UB (!773)

Gedare Bloom (@gedare) gitlab at rtems.org
Thu Oct 9 15:29:18 UTC 2025



Gedare Bloom created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/773

Project:Branches: gedare/rtems:5373-setjmp to rtems/rtos/rtems:main
Author:   Gedare Bloom
Assignee: Gedare Bloom
Reviewer: Joel Sherrill


## Summary

testsuites/validation: fix setjmp UB

Storing the return value of setjmp to a local variable is
undefined behavior.

Fixes #5373.


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

Closes #5373

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/773
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/20251009/d7708fdb/attachment.htm>


More information about the bugs mailing list