the following patch was just integrated into master: commit 55e8c2221942e150099ef61db87fca7fbeb1475b Author: Kyösti Mälkki firstname.lastname@example.org Date: Wed Nov 27 17:51:31 2013 +0200
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 email@example.com
See http://review.coreboot.org/4292 for details.