DescriptionSecurity fixes for LoadKernel()
1) kernel_subkey is one of the input parameters; not read off disk. KeyBlockVerify() now verifies it's not NULL unless we're only using the hash.
2) Added a check for kernel size vs. buffer size.
3) Added a check to make sure kbuf_sectors is nonzero.
BUG=chrome-os-partner:704
TEST=make && make runtests
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add local var for offset sectors #
Messages
Total messages: 4 (0 generated)
|