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

   
   ## Summary
   
   Fix NULL pointer dereference and fix memory corruption by using file_put() 
instead of file_close() + kmm_free().
   Add peer NULL check to local_freectl().
   
   
   ## Impact
   
   Fixes kernel panic and memory corruption after recvmsg(SCM_RIGHTS).
   
   ## Testing
   
   Board: qemu_intel64:nsh
   Tested with program that exhausts fd table and call recvmsg(SCM_RIGHTS). 


-- 
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