coreboot-kgpe-d16/src/device/oprom
Zhuo-Hao Lee 29445dc44e 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)
2015-01-20 14:14:08 +01:00
..
include device: Fix spelling 2013-07-10 20:17:25 +02:00
realmode device/oprom/realmode/x86: Fix memory corruption 2015-01-20 14:14:08 +01:00
x86emu device: Trivial - drop trailing blank lines at EOF 2014-07-08 13:52:03 +02:00
yabel ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00
Makefile.inc device,Makefile.inc: Trivial - drop trailing blank lines at EOF 2014-07-17 02:19:57 +02:00