Attention is currently required from: Patrick Rudolph. Hello build bot (Jenkins), Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/61945
to look at the new patch set (#5).
Change subject: soc/intel/common: Do bounds check on CPU core/thread number ......................................................................
soc/intel/common: Do bounds check on CPU core/thread number
This change was added to fix Kockwork scan complaining of a possible array overflow due to bounds check not being done on value read from MSR_CORE_THREAD_COUNT register.
The patch checks data read from register to be within MAX_CPUS.
Bug=None Test=Build and boot coreboot on ADL-P platform. Run Klockwork to achieve zero warnings/errors
Signed-off-by: Anil Kumar anil.kumar.k@intel.com Change-Id: I6cbbf3d45b71c3cf0c37dc42e3d0051cfa306487 --- M src/soc/intel/common/block/cpu/cpulib.c 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/45/61945/5