[coreboot-gerrit] Patch merged into coreboot/master: nb/intel/i82810: Make sure DIMM size isn't negative

gerrit at coreboot.org gerrit at coreboot.org
Thu Nov 24 00:11:16 CET 2016


the following patch was just integrated into master:
commit c8c5ae101aed919959187a0ad33cfbff263ff6a7
Author: Martin Roth <martinroth at google.com>
Date:   Fri Nov 18 08:56:10 2016 -0700

    nb/intel/i82810: Make sure DIMM size isn't negative
    
    If smbus_read_byte returned an error when reading the DIMM size,
    this value would be used as an offset into an array.
    
    Check for the error, and set the DIMM size to 0 if there's
    a problem.
    
    Addresses coverity issue 1229658 - Negative array index read
    
    Signed-off-by: Martin Roth <martinroth at google.com>
    Change-Id: I6461a0fae819dd9261adbb411c4bba07520d076d
    Reviewed-on: https://review.coreboot.org/17485
    Tested-by: build bot (Jenkins)
    Reviewed-by: Nico Huber <nico.h at gmx.de>


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

-gerrit



More information about the coreboot-gerrit mailing list