summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJacob Garber <jgarber1@ualberta.ca>2019-06-06 16:53:59 -0600
committerMartin Roth <martinroth@google.com>2019-06-13 20:13:03 +0000
commit27ca9620581920aaaf3a657553bce0e42477523f (patch)
tree3005efc715d20338a3fd1d391aaa3faa033ae01a /Makefile
parenta2455b2967ad3ab7e95785820e49f600b06477f6 (diff)
nb/amd/amdfam10: die() on out of bounds reads
These two functions try to access arrays of lengths 32 and 64 at indices of at most 259 and 71 (respectively). Something here is seriously wrong. This code was introduced in 2007, and aside from cosmetic changes, has had no modifications since then. I don't know what this code is supposed to do, and asking around on IRC, no one else did either. Until someone has the interest and time to work on it, let's at least add a die() to prevent the out of bounds access and alert the user that something is wrong. Change-Id: I5fc15a50a9f0e97add31e3a40da82a15f7427358 Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Found-by: Coverity CID 12296{79-82} Reviewed-on: https://review.coreboot.org/c/coreboot/+/33404 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions