Olivier-ProGlove opened a new pull request #5: cmd: img_mgmt: Add an extra byte 
to the 'hash' buffer
URL: https://github.com/apache/mynewt-mcumgr/pull/5
 
 
   _cbor_value_copy_string() (invoked by cbor_read_object()) adds a
   null-character to the byte string.
   Not adding this additional byte to the buffer obviously corrupts the memory.
   
   Signed-off-by: Olivier Martin <[email protected]>
   
   cc: @carlescufi, @nvlsianpu 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to