diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2018-05-19 08:58:01 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2018-05-21 04:48:28 +0000 |
commit | 185202c469977ab3c9b55cec7998f7746d518da1 (patch) | |
tree | 21ab94201cfbd629726fd37330a910d389da583f /src | |
parent | 0b71cf164b8fa999783e60fdf2bd0a73b13e707f (diff) | |
download | coreboot-185202c469977ab3c9b55cec7998f7746d518da1.tar.xz |
libpayload: Fix payload .bss corruption
Third call to newwin() corrupted payload context.
Fix array indexing and check for boundary.
Sample payload coreinfo was affected, loader_eax
variable got corrupted on my particular build.
Change-Id: Iee98901cf57f0689f65ac43aa7e60e8aea092500
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/26394
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions