coreboot-kgpe-d16/payloads
Julius Werner e25d3ff9bd libpayload: lzma: Allocate scratchpad on the heap
Allocating a 15980-byte scratchpad on the stack when your default stack
size is set to 16KB is really not a great idea. We're regularly
overflowing into the end of our heap when using LZMA in libpayload, and
just happen not to notice it because the heap rarely gets filled up all
the way. Of course, since we always *have* a heap in libpayload, the
much saner solution is to just use it directly to allocate the
scratchpad rather than accidentally grow backwards into it anyway.

Change-Id: Ibe4f02057a32bd156a126302178fa6fcab637d2c
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/16089
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-08-08 19:02:07 +02:00
..
bayou bayou: delete pbuilder utility 2016-07-30 19:34:36 +02:00
coreinfo payloads/coreinfo: Set KCONFIG_CONFIG value 2016-08-03 18:12:06 +02:00
external Use VBOOT_SOURCE instead of hardcoding vboot path 2016-08-08 12:17:00 +02:00
libpayload libpayload: lzma: Allocate scratchpad on the heap 2016-08-08 19:02:07 +02:00
nvramcui nvramcui: Update Makefile 2016-06-29 19:12:57 +02:00
Kconfig tint: Fix tint and add Kconfig option 2016-06-28 18:29:48 +02:00
Makefile.inc tint: Fix tint and add Kconfig option 2016-06-28 18:29:48 +02:00