[coreboot-gerrit] Patch merged into coreboot/master: 29445dc device/oprom/realmode/x86: Fix memory corruption

gerrit at coreboot.org gerrit at coreboot.org
Tue Jan 20 14:14:11 CET 2015


the following patch was just integrated into master:
commit 29445dc44ee6bfb2617443e0faa985a93d9272f2
Author: Zhuo-Hao Lee <zhuo-hao.lee at intel.com>
Date:   Wed Dec 24 11:13:34 2014 +0800

    device/oprom/realmode/x86: Fix memory corruption
    
    The length of the memcpy is incorrect and this will cause the
    destination buffer to corrupt the following 2 bytes of data.
    
    BUG=none
    BRANCH=All
    TEST=build and boot on rambi, system boot up without error
    
    Change-Id: I96adf2555b01aa35bb38a2e0f221fc2b2e87a41b
    Signed-off-by: Zhuo-Hao Lee <zhuo-hao.lee at intel.com>
    Reviewed-on: https://chromium-review.googlesource.com/237510
    Reviewed-by: Ryan Lin <ryan.lin at intel.com>
    Reviewed-by: Duncan Laurie <dlaurie at chromium.org>
    [Remove usage of macro `FIELD_SIZEOF(t, f)`.]
    Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
    Reviewed-on: http://review.coreboot.org/8227
    Reviewed-by: Alexandru Gagniuc <mr.nuke.me at gmail.com>
    Tested-by: build bot (Jenkins)


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

-gerrit



More information about the coreboot-gerrit mailing list