[coreboot-gerrit] Patch merged into coreboot/master: 31cef1f device/dram/ddr3.c: Fix sizeof on array func param overflow

gerrit at coreboot.org gerrit at coreboot.org
Sat Nov 8 07:09:39 CET 2014


the following patch was just integrated into master:
commit 31cef1f46e5caa63794709c381a68ac1a9394bbb
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Sat Nov 8 09:35:31 2014 +1100

    device/dram/ddr3.c: Fix sizeof on array func param overflow
    
    The sizeof on array function parameter will return size of 'u8 *'
    instead of 'spd_raw_data' (aka 'u8 [256]' leading to an overflow.
    
    Found-by: Clang
    Change-Id: I78e113a640b2953c853eb43bd6874e4694260b1f
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
    Reviewed-on: http://review.coreboot.org/7353
    Tested-by: build bot (Jenkins)
    Reviewed-by: Vladimir Serbinenko <phcoder at gmail.com>


See http://review.coreboot.org/7353 for details.

-gerrit



More information about the coreboot-gerrit mailing list