[RTEMS Project] #4157: pthread_spin_unlock() may corrupt the thread stack if RTEMS_PROFILING and RTEMS_SMP is enabled

RTEMS trac trac at rtems.org
Mon Oct 19 15:33:52 UTC 2020


#4157: pthread_spin_unlock() may corrupt the thread stack if RTEMS_PROFILING and
RTEMS_SMP is enabled
-----------------------------+------------------------------
 Reporter:  Sebastian Huber  |       Owner:  Sebastian Huber
     Type:  defect           |      Status:  closed
 Priority:  normal           |   Milestone:  6.1
Component:  posix            |     Version:  4.11
 Severity:  normal           |  Resolution:  fixed
 Keywords:                   |  Blocked By:
 Blocking:                   |
-----------------------------+------------------------------
Changes (by Sebastian Huber <sebastian.huber@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"2b9fb3141cb10b8bbfa1a18a6aab42474988a636/rtems"
 2b9fb314/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="2b9fb3141cb10b8bbfa1a18a6aab42474988a636"
 posix: Fix pthread_spin_unlock()

 Prevent a call to _SMP_lock_Stats_register_or_max_section_time().  This
 fixes a
 thread stack corruption in case RTEMS_PROFILING and RTEMS_SMP is enabled.

 Close #4157.
 }}}

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


More information about the bugs mailing list