RTEMS | Draft: libmisc/stackchk: Add stack smashing protection (!277)
Joel Sherrill (@joel)
gitlab at rtems.org
Tue Nov 26 19:25:48 UTC 2024
Joel Sherrill started a new discussion on cpukit/include/rtems/stackchk.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/277#note_115841
> */
> extern const Stack_checker_Reporter_handler Stack_checker_Reporter;
>
> +/**
> + * @brief Stack smashing protecting function
> + *
> + * @note This function is invoked if a stack overflow is detected
> + * if GCC flag -fstack-protector-* is enabled.
> + */
> +void __stack_chk_fail(void);
I don't think this has to be public via stackchk.h. It should only be referenced internally.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/277#note_115841
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/5cd39292/attachment-0001.htm>
More information about the bugs
mailing list