Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd: img_mgmt: Add an extra byte to the 'hash' buffer #5

Merged

Commits on Jun 29, 2018

  1. cmd: img_mgmt: Add an extra byte to the 'hash' buffer

    _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 <olivier.martin@proglove.de>
    Olivier-ProGlove authored and oliviermartin committed Jun 29, 2018
    Configuration menu
    Copy the full SHA
    c8c11dc View commit details
    Browse the repository at this point in the history