[coreboot-gerrit] Patch merged into coreboot/master: drivers/intel/fsp2_0: Check for NULL before using pointer

gerrit at coreboot.org gerrit at coreboot.org
Mon Nov 21 23:45:16 CET 2016


the following patch was just integrated into master:
commit 53bd26f531d9ee920948a931a03aae23de21f0ce
Author: Martin Roth <martinroth at google.com>
Date:   Fri Nov 18 12:02:18 2016 -0700

    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 at google.com>
    Reviewed-on: https://review.coreboot.org/17480
    Tested-by: build bot (Jenkins)
    Reviewed-by: Nico Huber <nico.h at gmx.de>


See https://review.coreboot.org/17480 for details.

-gerrit



More information about the coreboot-gerrit mailing list