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

   ## Summary
   
   The tcb->sigdeliver is already set to NULL in the signal delivery, and it 
must be done only there. Zeroing it again after the signal has been delivered 
is a potential race condition, the interrupts may be enabled at this point 
again.
   
   ## Impact
   
   All risc-v and arm64 signal delivery, fixes a potential crash on signal 
delivery.
   
   ## Testing
   
   Tested on custom MPFS (risc-v) and IMX93 (arm64) hardware using "ostest". 
Verified that the signals are delivered correctly still after this fix.
   


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to