catalinv-ncc opened a new pull request, #19476:
URL: https://github.com/apache/nuttx/pull/19476

   ## Summary
   
   Stops kernel from crashing when a user land process calls the driver with a
   NULL buffer. Full details in the issue: 
https://github.com/apache/nuttx/issues/19473
   
   While this fixes the issue with a typical NULL pointer, fundamentally this 
will be
   addressed with the implementation of access_ok().
   
   https://man7.org/linux/man-pages/man2/access.2.html
   
   ## Impact
   
   If user passes NULL as buffer, the driver may crash. This is problematic for 
NuttX
   protected and kernel builds.
   
   ## Testing
   
   Builds ok.


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