rajvindervirk opened a new pull request, #7194:
URL: https://github.com/apache/incubator-nuttx/pull/7194

   …ermediate storage of tx and rx CAN frames when timestamp is enabled
   
   ## Summary
   
   When CONFIG_NET_TIMESTAMP is enabled, can_callback() concatenates a 
timestamp timeval to the receive frame in the rx_pool buffer. stm32h7 does not 
reserve space for the extra timeval structure in the rx_pool when timestamp is 
enabled.
   
   ## Impact
   
   This causes a buffer overflow in the receive buffer (rx_pool).
   
   ## Testing
   
   Tested functionality on STM32H7 board with both CAN instances initialized 
and buffer overflow is fixed after the change.
   
   


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