RTEMS | libmisc/stackchk: Add stack smashing protection (!277)
Mohamed Hassan (@Hamzi)
gitlab at rtems.org
Mon Nov 4 19:23:49 UTC 2024
Mohamed Hassan commented on a discussion on cpukit/libmisc/stackchk/check.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/277#note_114295
> RTEMS_SYSINIT_ISR_STACK,
> RTEMS_SYSINIT_ORDER_MIDDLE
> );
> +
> +#ifdef DISABLE_STACK_CHK_GUARD_RUNTIME_CONFIG
> + __attribute__((weak)) uintptr_t __stack_chk_guard = RTEMS_STACK_CHECKER_GUARD_VALUE;
> +
> +#else
Yeah I get it. it will be removed.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/277#note_114295
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/20241104/9dc39396/attachment-0001.htm>
More information about the bugs
mailing list