You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/06/29 16:22:41 UTC

[GitHub] Olivier-ProGlove opened a new pull request #5: cmd: img_mgmt: Add an extra byte to the 'hash' buffer

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 <ol...@proglove.de>
   
   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:
users@infra.apache.org


With regards,
Apache Git Services