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

Joel Sherrill (@joel) gitlab at rtems.org
Tue Nov 26 19:27:39 UTC 2024




Joel Sherrill started a new discussion on cpukit/include/rtems/confdefs/extensions.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/277#note_115842

 >    #endif
 >  #endif
 >  
 > +#ifndef RTEMS_STACK_CHECKER_GUARD_VALUE
 > +  #define RTEMS_STACK_CHECKER_GUARD_VALUE 0xDEADBEEF
 > +#endif
 > +
 > +RTEMS_WEAK uintptr_t __stack_chk_guard = 
 > +RTEMS_STACK_CHECKER_GUARD_VALUE;

This should be called CONFIGURE_STACK_CHECKER_GUARD_VALUE.

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


More information about the bugs mailing list