RTEMS | libmisc/stackchk: Add stack smashing protection (!277)

Joel Sherrill (@joel) gitlab at rtems.org
Tue May 27 20:50:43 UTC 2025




Joel Sherrill commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/277#note_122902


Good spot. I didn't realise that was in newlib. I think the implementation should be able to be overridden by a user. It also needs to integrate with RTEMS error handling/termination. What is in newlib's version that you think is an improvement?

I am prone to disable the newlib implementation for RTEMS to avoid conflicts. But if there is something in it which would improve the one in RTEMS, let's discuss that. 

I am not sure using a random canary is a great idea for RTEMS.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/277#note_122902
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/20250527/c491e290/attachment.htm>


More information about the bugs mailing list