coreboot-kgpe-d16/payloads/libpayload/curses
Kyösti Mälkki 185202c469 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>
2018-05-21 04:48:28 +00:00
..
PDCurses libpayload/.../PDCurses: Improve compatibility with ncurses 2016-12-14 18:02:51 +01:00
form payloads/libpayload: Add spaces around '==' 2018-05-02 07:59:14 +00:00
menu payloads/libpayload: Add spaces around '==' 2018-05-02 07:59:14 +00:00
pdcurses-backend payloads/libpayload: Add spaces around '==' 2018-05-02 07:59:14 +00:00
Makefile.inc libpayload: Rename PDCurses-3.4 to PDCurses 2015-11-11 21:38:48 +01:00
colors.c
curses.h fix tinycurses 2013-06-04 21:13:08 +02:00
curses.priv.h
keyboard.c libpayload: Make Kconfig bools use IS_ENABLED() 2015-06-30 18:55:15 +02:00
local.h libpayload: Make Kconfig bools use IS_ENABLED() 2015-06-30 18:55:15 +02:00
tinycurses.c libpayload: Fix payload .bss corruption 2018-05-21 04:48:28 +00:00