[coreboot-gerrit] Patch merged into coreboot/master: c2519e5 dmp/vortex86ex/southbridge.c: Do not access arrays out of bound

gerrit at coreboot.org gerrit at coreboot.org
Mon Jul 28 23:10:14 CEST 2014


the following patch was just integrated into master:
commit c2519e5a06ba5f70bfcb1e2e70ade440c9552f18
Author: Daniele Forsi <dforsi at gmail.com>
Date:   Sat Jul 26 11:17:03 2014 +0200

    dmp/vortex86ex/southbridge.c: Do not access arrays out of bound
    
    Found by Cppcheck 1.65. Fixes:
    [src/southbridge/dmp/vortex86ex/southbridge.c:498]: (error) Array 'rtc[7]' accessed at index 7, which is out of bounds.
    [src/southbridge/dmp/vortex86ex/southbridge.c:498]: (error) Array 'bin_rtc[7]' accessed at index 7, which is out of bounds.
    
    Change-Id: I8939fe1b326202bbe2784639b0e591f8ee470eeb
    Signed-off-by: Daniele Forsi <dforsi at gmail.com>
    Reviewed-on: http://review.coreboot.org/6375
    Tested-by: build bot (Jenkins)
    Reviewed-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
    Reviewed-by: Andrew Wu <arw at dmp.com.tw>


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

-gerrit



More information about the coreboot-gerrit mailing list