[RTEMS Project] #4588: RTEMS Stack Checker Report Bad Access When Not Enabled

RTEMS trac trac at rtems.org
Wed Jan 26 20:40:58 UTC 2022


#4588: RTEMS Stack Checker Report Bad Access When Not Enabled
---------------------------+--------------------
  Reporter:  Kinsey Moore  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  normal        |  Milestone:  6.1
 Component:  admin         |    Version:  6
  Severity:  normal        |   Keywords:
Blocked By:                |   Blocking:
---------------------------+--------------------
 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.

--
Ticket URL: <http://devel.rtems.org/ticket/4588>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list