the following patch was just integrated into master: commit 4fb64d0b880c698cba92f5ec2e4d39f3bdb92fc6 Author: Martin Roth martinroth@google.com Date: Tue Jan 10 11:15:13 2017 -0700
fsp 1.0 systems: Check for NULL when saving HobListPtr
Die if cbmem_add can't allocate memory for the hob pointer. This shouldn't ever happen, but it's a reasonable check.
- fsp_broadwell_de already had a check, but it returned to someplace inside the FSP. Just die instead.
Change-Id: Ieef8d6ab81aab0ec3d52b729e34566bb34ee0623 Found-by: Coverity Scan #1291162 Signed-off-by: Martin Roth martinroth@google.com Reviewed-on: https://review.coreboot.org/18092 Tested-by: build bot (Jenkins) Reviewed-by: Werner Zeh werner.zeh@siemens.com
See https://review.coreboot.org/18092 for details.
-gerrit