Gedare Bloom started a new discussion on cpukit/rtems/src/timerserver.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1067#note_143078

 >    cpu = _Watchdog_Get_CPU( &the_timer->Ticker );
 >    the_timer->stop_time = _Timer_Get_CPU_ticks( cpu );
 >    wakeup = _Chain_Is_empty( &ts->Pending );
 > +  _Chain_Set_off_chain( &the_timer->Ticker.Node.Chain );
 >    _Chain_Append_unprotected( &ts->Pending, &the_timer->Ticker.Node.Chain );

I'm not sure about the reasoning here. If `&the_timer->Ticker.Node.Chain` is on 
an existing chain, then this would lead to memory corruption.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1067#note_143078
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to