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

   ## Summary
   
   ctucanfd_sock_recv() did not compile with CONFIG_CAN_CTUCANFD_SOCKET:
   * the rwcnt bounds check used an undeclared 'frame' instead of 'rxframe';
   * the !CONFIG_NET_CAN_EXTID paths used 'continue' outside a loop. Both error 
paths now free the allocated RX packet and return NULL, so a dropped frame no 
longer leaks the netpkt. Also add the blank lines after declarations that 
nxstyle requires in this file.
   
   ## Impact
   
   fix build
   
   ## Testing
   
   local build


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