GUIDINGLI opened a new pull request, #10668:
URL: https://github.com/apache/nuttx/pull/10668

   ## Summary
   
   wqueue: add work_cancel_sync() support
   signal: use work_cancel_sync() to fix used after free
   
       user thread:                             hpwork:
       timer_create() with SIGEV_THREAD
       timer_settime()
           irq -> work_queue()                  add nxsig_notification_worker 
to Q
       timer_delete()
           nxsig_cancel_notification()
                                                call nxsig_notification_worker()
           work_cancel()
           timer_free()
                                                nxsig_notification_worker() 
used after free
       
       root cause:
       work_cancel() can't cancel work completely, the worker may alreay be 
running.
       
       resolve:
       use work_cancel_sync() API to cancel the work completely
   
   
   ## Impact
   
   work queue
   
   ## Testing
   
   BES board & SIM
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to