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

Unified Diff: utility/load_kernel_test.c

Issue 3060004: Fix load_kernel_test, add check to LoadKernel to detect bad args. (Closed) Base URL: ssh://git@chromiumos-git//vboot_reference.git
Patch Set: Created 10 years, 5 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
« no previous file with comments | « firmware/lib/vboot_kernel.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utility/load_kernel_test.c
diff --git a/utility/load_kernel_test.c b/utility/load_kernel_test.c
index 72c3921cff4045cca718323b2ba107acd73ebfa0..c391c61cdf9df5af086c9fc807af0852e83c35ba 100644
--- a/utility/load_kernel_test.c
+++ b/utility/load_kernel_test.c
@@ -117,6 +117,7 @@ int main(int argc, char* argv[]) {
fprintf(stderr, "Unable to allocate kernel buffer.\n");
return 1;
}
+ lkp.kernel_buffer_size = KERNEL_BUFFER_SIZE;
vb 2010/07/22 16:50:08 how could this ever work before your fix?
/* Need to skip the address check, since we're putting it somewhere on the
* heap instead of its actual target address in the firmware. */
« no previous file with comments | « firmware/lib/vboot_kernel.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698