Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(841)

Unified Diff: src/platform/vboot_reference/utils/signature_digest_utility.c

Issue 744002: Vboot Reference: Make length types explicitly sized. (Closed)
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/platform/vboot_reference/utils/signature_digest_utility.c
diff --git a/src/platform/vboot_reference/utils/signature_digest_utility.c b/src/platform/vboot_reference/utils/signature_digest_utility.c
index b1f6dde9ddecc609cb3abfaec31761b1bbb97a34..6c8891b9613057c99de566141df0ae379599e48b 100644
--- a/src/platform/vboot_reference/utils/signature_digest_utility.c
+++ b/src/platform/vboot_reference/utils/signature_digest_utility.c
@@ -21,7 +21,7 @@ int main(int argc, char* argv[]) {
int error_code = 0;
uint8_t* buf = NULL;
uint8_t* signature_digest = NULL;
- uint32_t len;
+ uint64_t len;
uint32_t signature_digest_len;
Chris Masone 2010/03/11 02:30:46 missed this one?
gauravsh 2010/03/11 02:33:39 This will be bounded too (it's calculated from the
if (argc != 3) {

Powered by Google App Engine
This is Rietveld 408576698