summaryrefslogtreecommitdiff
path: root/host/arch
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2015-02-06 15:35:34 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-02-09 02:13:51 +0000
commit864fae2d78f88a1ec3865c6eeffa9eb605cc6b38 (patch)
tree658069d189f96b560c7bb342fa584761320f5e63 /host/arch
parentb550fb180487f161b3f704056f6e05a9cce9d308 (diff)
downloadvboot-864fae2d78f88a1ec3865c6eeffa9eb605cc6b38.tar.gz
Check the correct length of the GPT header signaturestabilize-6771.Bfactory-auron-6772.B
The length of the signature is 8 bytes. We've been checking 9 bytes instead, pretty much forever. All the tests have passed because although the signature we're looking for is an 8-byte string followed by a '\0', the next field in the header contains the revision number 0x00010000, so the 9th byte is always zero. We should follow the spec, though. BUG=none BRANCH=none TEST=make runtests Change-Id: I7cc6370250fa36a193f4a9fa5bc0099aea465618 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/247331 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'host/arch')
0 files changed, 0 insertions, 0 deletions