diff options
author | Martin Roth <martinroth@google.com> | 2016-11-18 12:02:18 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-11-21 23:45:06 +0100 |
commit | 53bd26f531d9ee920948a931a03aae23de21f0ce (patch) | |
tree | 6df80e54744354825d04f9b478b59d64c54eef87 /Documentation | |
parent | ad6c885ce48edeb0120499c0877e3145080a901e (diff) | |
download | coreboot-53bd26f531d9ee920948a931a03aae23de21f0ce.tar.xz |
drivers/intel/fsp2_0: Check for NULL before using pointer
The cbmem routines pass back NULL on error. Check for this before using
the pointer.
Addresses coverity issue 1365731 - Dereference null return value
Change-Id: I92995366ffb15afd0950b9a8bbb6fe16252b2c38
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/17480
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions