RTEMS | cpukit/stackchk: Remove additional offset of SANITY_PATTERN_SIZE_WORDS (!197)

Sebastian Huber (@sebhub) gitlab at rtems.org
Thu Aug 29 00:13:42 UTC 2024




Sebastian Huber commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/197#note_111637


The change is correct, but there is no out of bounds access of the stack. The stack is definitely larger than SANITY_PATTERN_SIZE_WORDS. You get an inaccurate usage value if the stack usage is close to the maximum.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/197#note_111637
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/20240829/366db27f/attachment.htm>


More information about the bugs mailing list