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

Kinsey Moore (@opticron) gitlab at rtems.org
Tue Aug 27 19:55:26 UTC 2024



Kinsey Moore created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/197

Project:Branches: opticron/rtems:stack-checker-bounds to rtems/rtos/rtems:main
Author:   Kinsey Moore
Assignee: Kinsey Moore



## Summary

cpukit/stackchk: Remove additional offset of SANITY_PATTERN_SIZE_WORDS

This offset is already accounted for by Stack_check_Usable_stack_start()
called from Stack_check_Visit_stack() and adding it a second time can
cause interaction beyond the bounds of the stack.


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/197
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/20240827/fa79c095/attachment.htm>


More information about the bugs mailing list