coreboot-kgpe-d16/src/vendorcode/cavium
Jacob Garber 9f378d3b03 vc/cavium/bdk/libdram: Add array bounds check
Ensure that best_en_idx is within bounds before accessing the _en array.

Change-Id: Ifa6259e28875a8cf8199896bda7982370ccaa277
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 1393971
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34593
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2019-07-30 09:55:55 +00:00
..
bdk vc/cavium/bdk/libdram: Add array bounds check 2019-07-30 09:55:55 +00:00
include/bdk coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
Kconfig bdk: Use Kconfig options instead of getenv() 2018-07-17 08:04:21 +00:00
Makefile.inc soc/cavium: Integrate BDK files into coreboot 2018-07-03 15:53:32 +00:00