[coreboot-gerrit] Patch merged into coreboot/master: cbfstool: fix address truncated problem

gerrit at coreboot.org gerrit at coreboot.org
Thu Jan 14 18:44:01 CET 2016


the following patch was just integrated into master:
commit 14ec199bd190d11f5d141ae93be95aa53acbf7f0
Author: HC Yen <hc.yen at mediatek.com>
Date:   Thu Jan 22 09:57:34 2015 +0800

    cbfstool: fix address truncated problem
    
    In parse_elf_to_stage(), it uses 32-bit variable to handle address.
    The correct address type is Elf64_Addr. Use uint64_t to prevent address
    to be truncated.
    
    BUG=none
    TEST=emerge-oak coreboot
    BRANCH=none
    
    Change-Id: I1abcd16899a69b18dd10e9678e767b0564b2846e
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
    Original-Commit-Id: ebc1aae0ae4ca30802a80a4a4e2ae0c0dad4d88a
    Original-Change-Id: I21f8057ddf13e442f1cf55da6702c3449ba0cc35
    Original-Reviewed-on: https://chromium-review.googlesource.com/292553
    Original-Commit-Ready: Yidi Lin <yidi.lin at mediatek.com>
    Original-Tested-by: Yidi Lin <yidi.lin at mediatek.com>
    Original-Reviewed-by: Aaron Durbin <adurbin at chromium.org>
    Original-Reviewed-by: Julius Werner <jwerner at chromium.org>
    Reviewed-on: https://review.coreboot.org/12927
    Tested-by: build bot (Jenkins)
    Reviewed-by: Martin Roth <martinroth at google.com>


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

-gerrit



More information about the coreboot-gerrit mailing list