andrzej-kaczmarek opened a new pull request, #1920:
URL: https://github.com/apache/mynewt-nimble/pull/1920

   os_mbuf_extend can allocate new mbuf if there's not enough space in txom for 
complete SMP command. In such case we write SMP command data to the original 
mbuf which doesn't have om_len updated instead to newly created mbuf. This can 
happen especially for SMP Public Key if block size is not large enough to fit 
pkthdr and 65 bytes of command data.
   
   We should use pointer returned from os_mbuf_extend as a SMP command data 
pointer as this always points to added space.


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