summaryrefslogtreecommitdiff
path: root/src/cpu/x86/lapic
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2013-11-27 17:51:31 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2013-11-30 20:46:52 +0100
commita3c5ba3ca71c6c6a72a4ab1ef244d3b4acfb83a9 (patch)
tree98eaf91f134b3a2f7b7d7319a53f42efb2125d21 /src/cpu/x86/lapic
parent1fefa84405090ef659e561809a043febbef997a9 (diff)
CBMEM console: Prevent buffer overrun
Make sure memcpy target and a possible message telling log was truncated stay within the allocated region for CBMEM console. This fixes observed CBMEM corruption on platforms that do not use CBMEM console during romstage. Those platforms will need an additional fix to reset cursor position to zero on s3 resume. Change-Id: I76501ca3afc716545ca76ebca1119995126a43f8 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/4292 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Idwer Vollering <vidwer@gmail.com> Reviewed-by: Martin Roth <martin.roth@se-eng.com>
Diffstat (limited to 'src/cpu/x86/lapic')
0 files changed, 0 insertions, 0 deletions