commit | 0d9dda2b69c47707e9fdf39d68b04b8edf5623ef | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@google.com> | Mon May 08 09:24:15 2017 -0700 |
committer | Martijn Coenen <maco@google.com> | Mon Nov 27 16:50:04 2017 +0100 |
tree | 99b47645f098758c77a723beb725e8c3e4446b2e | |
parent | 355b79146958835d175b1d6dc40eb48e54ced428 [diff] |
Fix debug output. If we have fewer bytes left in the buffer than the output alignment, we would read out of bounds and output (partially) incorrect data. Test: debug output is correct Change-Id: I66913c58295ccd8e1955a73a17f6eed45ca6cd1e