the following patch was just integrated into master: commit 29445dc44ee6bfb2617443e0faa985a93d9272f2 Author: Zhuo-Hao Lee zhuo-hao.lee@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@intel.com Reviewed-on: https://chromium-review.googlesource.com/237510 Reviewed-by: Ryan Lin ryan.lin@intel.com Reviewed-by: Duncan Laurie dlaurie@chromium.org [Remove usage of macro `FIELD_SIZEOF(t, f)`.] Signed-off-by: Paul Menzel paulepanter@users.sourceforge.net Reviewed-on: http://review.coreboot.org/8227 Reviewed-by: Alexandru Gagniuc mr.nuke.me@gmail.com Tested-by: build bot (Jenkins)
See http://review.coreboot.org/8227 for details.
-gerrit