coreboot-kgpe-d16/util
Edward O'Callaghan a0f9ece19c util/cbfstool: Make cbfs_image_delete() NULL-tolerant.
This fixes a double free crash that occurs when a call to
cbfs_image_from_file() fails in cbfs_extract() and falls though to
cbfs_image_delete() with a NULL-pointer.

To reproduce the crash pass the following arguments where the files
passed, in fact, do not exist. As follows:
./cbfstool build/coreboot.rom extract -n config -f /tmp/config.txt

Change-Id: I2213ff175d0703705a0ec10271b30bb26b6f8d0a
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/5353
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2014-04-07 18:34:33 +02:00
..
abuild abuild: improve --remove 2013-12-20 21:01:32 +01:00
acpi
amdtools
arm_boot_tools/mksunxiboot cpu/allwinner/a10: Provide utility to make a bootable image 2014-01-13 04:03:00 +01:00
board_status Revert "boardstatus/towiki: Declare southbridge=northbridge=cpu on SOCs" 2014-03-12 16:37:41 +01:00
cbfstool util/cbfstool: Make cbfs_image_delete() NULL-tolerant. 2014-04-07 18:34:33 +02:00
cbmem util/cbmem: handle larger than 1MiB mappings for console 2014-04-02 17:01:01 +02:00
crossgcc crossgcc: Update IASL to latest version (20140114) 2014-02-14 02:52:45 +01:00
dtd_parser
dumpmmcr
ectool
genprof
getpir
gitconfig
i915tool Fix whitespace leaked into tree 2013-09-17 21:04:35 +02:00
ifdfake ifdfake - Create an IFD with just a section layout 2013-06-24 17:56:42 +02:00
ifdtool util/ifdtool: cleanup some magic numbers 2014-02-28 21:13:15 +01:00
inteltool utils: Install man pages as non-executable (chmod 644) 2014-01-31 20:14:58 +01:00
k8resdump
kconfig
lbtdump lbtdump: Dump forwarded tables. 2014-03-09 21:19:29 +01:00
lint lint: check label style only on changed files 2014-01-11 10:56:54 +01:00
mkelfImage
mptable
msrtool msrtool: Fix verbose ignored by cpuid(). 2013-07-08 19:39:00 +02:00
nvramtool utils: Install man pages as non-executable (chmod 644) 2014-01-31 20:14:58 +01:00
optionlist
resetcf
romcc romcc.c: Fixes warning about unused function from unused macros. 2014-03-17 19:09:49 +01:00
runfw
sconfig sconfig: don't "const" structs twice 2014-01-20 12:59:27 +01:00
showdevicetree
spkmodem_recv
superiotool util/superiotool: Add initial support for Fintek F71869ED. 2014-03-27 10:15:28 +01:00
vgabios
viatool
xcompile util/xcompile/xcompile: set up for aarch64 2013-11-10 04:41:30 +01:00