coreboot-kgpe-d16/util
Andrew Engelbrecht e8905312f0 nvramtool: cmos_read(): Use malloc() instead of alloca()
Fixes crash occurring when 'nvramtool -a' tried to free a prematurely
freed pointer. (Tested on x60)

malloc() is correct because the pointer is accessed outside the calling
function. The pointer is freed in the parent function list_cmos_entry().

Change-Id: I1723f09740657f0f0d9e6954bd6d11c0a3820a42
Signed-off-by: Andrew Engelbrecht <sudoman@ninthfloor.org>
Reviewed-on: http://review.coreboot.org/7620
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
2014-12-02 10:15:00 +01:00
..
abuild build system: only do the compiler test for gcc 2014-11-30 12:20:11 +01:00
acpi
amdtools
arm_boot_tools/mksunxiboot util: replace fseek/ftell/rewind with fstat 2014-08-12 11:53:24 +02:00
board_status Rewrite board_status in go. 2014-11-26 23:18:58 +01:00
cbfstool util/cbfstool/cbfs-mkstage.c: Fix build issue on 32-bit x86 2014-11-21 19:46:18 +01:00
cbmem util/cbmem: Fix CBMEM TOC printing 2014-10-18 14:29:29 +02:00
crossgcc buildgcc: support DESTDIR for libelf 2014-11-30 12:20:17 +01:00
dtd_parser
dumpmmcr
ectool
exynos exynos: Install the BL1 and set the checksum in the Makefile. 2014-09-09 20:01:18 +02:00
fletcher util/fletcher: fix debug option parsing 2014-10-18 14:45:42 +02:00
genprof util/genprof: improve handling of command line arguments 2014-08-12 09:02:44 +02:00
getpir
gitconfig
i915tool util/i915tool: close the file also when fread() returned an error 2014-07-30 13:16:53 +02:00
ifdfake
ifdtool ifdtool: Provide bounds on string parser 2014-08-10 18:50:30 +02:00
inteltool inteltool: add more hardware IDs and PCIEXBAR/PXPEPBAR read support 2014-11-09 21:11:27 +01:00
ipqheader A tool for IPQ8064 encapsulation 2014-10-28 19:31:26 +01:00
k8resdump
kconfig kconfig: create files in target directory if requested 2014-11-18 08:25:50 +01:00
lbtdump lbtdump: Dump forwarded tables. 2014-03-09 21:19:29 +01:00
lint lint-stable: Ignore .bin files for whitespace check. 2014-11-25 23:47:43 +01:00
mptable
msrtool
nvidia nvidia/cbootimage: update to master 2014-11-14 16:38:33 +01:00
nvramtool nvramtool: cmos_read(): Use malloc() instead of alloca() 2014-12-02 10:15:00 +01:00
optionlist
resetcf
romcc romcc: avoid use-after-free 2014-09-06 09:21:07 +02:00
runfw ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00
sconfig sconfig: add cpu device type 2014-10-07 21:03:25 +02:00
showdevicetree ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00
spkmodem_recv
superiotool util/superiotool: Add initial support for Fintek F71869ED. 2014-03-27 10:15:28 +01:00
vgabios
viatool
xcompile crossgcc: Add buildsystem support for aarch64 compiler 2014-11-20 13:54:59 +01:00