commit | 63f9d9413e1cbc26209d56ec07e187e2375c8cb2 | [log] [tgz] |
---|---|---|
author | Christopher Collins <ccollins@apache.org> | Tue Feb 04 16:03:21 2020 -0800 |
committer | ccollins476ad <ccollins476ad@gmail.com> | Tue Feb 04 16:33:17 2020 -0800 |
tree | 3dd82d0d417a145fb9673ea5b74102d8c7688a56 | |
parent | 17f5c27a372b00fc54a5c4c132a4ba6661524236 [diff] |
image: calculate padding when parsing image When parsing an image file, if the image indicates an extra-long header, build a slice of bytes to hold the extra leading padding. This is needed to perform the image hash calculation correctly.