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

Issue 669014: Vboot Reference: Kernel Boot signing utility. (Closed)

Created:
10 years, 9 months ago by gauravsh
Modified:
9 years, 6 months ago
Reviewers:
sosa
CC:
chromium-os-reviews_chromium.org
Visibility:
Public.

Description

Vboot Reference: Kernel Boot signing utility. Fixes a unallocated memory bug in ReadKernelImage(). Some renaming of variables for consistency.

Patch Set 1 #

Patch Set 2 : 80 chars. #

Total comments: 9

Patch Set 3 : Follow C++ style. Always run lint. #

Patch Set 4 : linter #

Unified diffs Side-by-side diffs Delta from patch set Stats (+470 lines, -27 lines) Patch
M src/platform/vboot_reference/include/firmware_image.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/platform/vboot_reference/include/firmware_utility.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/platform/vboot_reference/include/kernel_image.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
A src/platform/vboot_reference/include/kernel_utility.h View 1 chunk +74 lines, -0 lines 0 comments Download
M src/platform/vboot_reference/utils/Makefile View 3 chunks +6 lines, -2 lines 0 comments Download
M src/platform/vboot_reference/utils/firmware_image.c View 1 chunk +1 line, -1 line 0 comments Download
M src/platform/vboot_reference/utils/firmware_utility.cc View 3 7 chunks +21 lines, -20 lines 0 comments Download
M src/platform/vboot_reference/utils/kernel_image.c View 1 chunk +2 lines, -1 line 0 comments Download
A src/platform/vboot_reference/utils/kernel_utility.cc View 1 2 3 1 chunk +357 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
gauravsh
10 years, 9 months ago (2010-03-04 00:17:43 UTC) #1
sosa
A comment and some nits for you. Try running lint on kernel_utility.cc http://codereview.chromium.org/lint_patch/issue669014_1007_13 Most notably ...
10 years, 9 months ago (2010-03-04 01:02:25 UTC) #2
gauravsh
I made a parallel set of changes to firmware_utility too since it's similar to kernel_utility. ...
10 years, 9 months ago (2010-03-04 01:38:59 UTC) #3
sosa
10 years, 9 months ago (2010-03-04 01:50:31 UTC) #4
l-g-t-m

http://codereview.chromium.org/669014/diff/1007/13
File src/platform/vboot_reference/utils/kernel_utility.cc (right):

http://codereview.chromium.org/669014/diff/1007/13#newcode220
src/platform/vboot_reference/utils/kernel_utility.cc:220:
sizeof(image_->header_checksum));
I thought so!  I looked for it for a bit but sadly my searching skillz are
lacking

On 2010/03/04 01:38:59, gauravsh wrote:
> On 2010/03/04 01:02:25, sosa wrote:
> > I've seen you do this calculation a few times.  You might wanna consider
> > functioning it out.
> 
> As it turns out, i already had a function that does that. Fixed. 
>

Powered by Google App Engine
This is Rietveld 408576698