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

RTEMS trac trac at rtems.org
Thu Jan 27 18:59:41 UTC 2022


#4588: RTEMS Stack Checker Report Bad Access When Not Enabled
--------------------------+--------------------------------------------
 Reporter:  Kinsey Moore  |       Owner:  Kinsey Moore <kinsey.moore@…>
     Type:  defect        |      Status:  closed
 Priority:  normal        |   Milestone:  6.1
Component:  admin         |     Version:  6
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |  Blocked By:
 Blocking:                |
--------------------------+--------------------------------------------
Changes (by Kinsey Moore <kinsey.moore@…>):

 * owner:  (none) => Kinsey Moore <kinsey.moore@…>
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"b539af865ea3217a50c8e4cbf0f668807c134356/rtems"
 b539af8/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="b539af865ea3217a50c8e4cbf0f668807c134356"
 cpukit: Prevent error with disabled stack checker

 When the stack checker is not enabled, the stack checker reporting
 function can still be called. This prevents that call from performing a
 null memory access in trying to find the high water mark if the stack
 checker was never initialized.

 This also introduces a test to ensure this call does not cause a crash.

 Closes #4588
 }}}

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


More information about the bugs mailing list