diff options
author | Kane Chen <kane.chen@intel.com> | 2018-03-29 19:12:53 +0800 |
---|---|---|
committer | Shelley Chen <shchen@google.com> | 2018-03-30 06:43:12 +0000 |
commit | 5b84fad5a9ddbe45d07ea650c74c92e16654af65 (patch) | |
tree | dcf5e2804b197c8d846e4556cdec9b473a320566 /src/mainboard/google | |
parent | ba49c09b2f69f3daccc8a04edfd025f93a4f217c (diff) | |
download | coreboot-5b84fad5a9ddbe45d07ea650c74c92e16654af65.tar.xz |
soc/intel/skylake: Protect me_progress_rom_values array boundary
me_progress_rom_values array provides detailed information maps to ME
HFSTS2 register value.
There is a chance that ME status value might be over the size of
me_progress_rom_values.
This commit adds a check before access the array.
BUG=b:77247550
Change-Id: I5de569c62b94b0595d3d3ea254f50e312e8c11a4
Signed-off-by: Kane Chen <kane.chen@intel.com>
Reviewed-on: https://review.coreboot.org/25425
Reviewed-by: Kevin Chiu <Kevin.Chiu@quantatw.com>
Reviewed-by: Shelley Chen <shchen@google.com>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google')
0 files changed, 0 insertions, 0 deletions