Opened on 01/26/22 at 20:40:58
Closed on 01/27/22 at 18:59:40
#4588 closed defect (fixed)
RTEMS Stack Checker Report Bad Access When Not Enabled
Reported by: | Kinsey Moore | Owned by: | Kinsey Moore <kinsey.moore@…> |
---|---|---|---|
Priority: | normal | Milestone: | 6.1 |
Component: | admin | Version: | 6 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
The RTEMS stack checker reporting function can be called without the stack checker infrastructure being enabled. This causes a bad access to 0x0 because the static interrupt stack checker data remains null instead of being initialized by rtems_stack_checker_begin_extension. The actual failure occurs in Stack_check_Find_high_water_mark while searching for U32_PATTERN.
This was found when the trailing D was left off of the CONFIGURE_STACK_CHECKER_ENABLED define in a test program.
Change History (1)
comment:1 Changed on 01/27/22 at 18:59:40 by Kinsey Moore <kinsey.moore@…>
Owner: | set to Kinsey Moore <kinsey.moore@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
In [changeset:"b539af865ea3217a50c8e4cbf0f668807c134356/rtems" b539af8/rtems]: