[RTEMS Project] #4244: Possible infinite recursion in Classic API Signal handling

RTEMS trac trac at rtems.org
Mon Feb 15 06:46:56 UTC 2021


#4244: Possible infinite recursion in Classic API Signal handling
------------------------------+-----------------------------
  Reporter:  Sebastian Huber  |      Owner:  Sebastian Huber
      Type:  defect           |     Status:  assigned
  Priority:  normal           |  Milestone:  6.1
 Component:  rtems            |    Version:
  Severity:  normal           |   Keywords:
Blocked By:                   |   Blocking:
------------------------------+-----------------------------
 Due to implementation flaws, there may be an infinite recursion in the
 signal processing even if ASR mode is disabled during signal processing.
 The problem is that rtems_task_mode() is used to set up and tear down the
 ASR-specific task mode. This needs to be changed to set the modes under
 protection of the right locks and using a loop instead of recursion to
 schedule the next ASR processing step if needed.

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


More information about the bugs mailing list