coreboot/util
Youness Alaoui 5fcd074ca2 UPSTREAM: util/intelmetool: Check for NULL return from pci_lookup_name
pci_lookup_name might return NULL from using format_name internally
which could cause a crash when trying to print that value. We
check for NULL and print a more appropriate value in that case.

BUG=none
BRANCH=none
TEST=none

Change-Id: I4dcf7aafb583473e1e6e5a9d2a3192743678fcb0
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: b85ddc787e
Original-Change-Id: I499f0b5e1681f3926df0d8a325aab2c666ebd632
Original-Signed-off-by: Youness Alaoui <youness.alaoui@puri.sm>
Original-Reviewed-on: https://review.coreboot.org/19089
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://chromium-review.googlesource.com/468733
2017-04-07 07:03:31 -07:00
..
abuild UPSTREAM: abuild: add timeless build command line parameter 2017-04-05 16:30:07 -07:00
acpi
amdfwtool UPSTREAM: util/amdfwtool: Add fanless SMU firmware options 2017-03-30 05:30:05 -07:00
amdtools
archive
arm_boot_tools/mksunxiboot
autoport
bimgtool
blobtool
board_status
broadcom
cbfstool UPSTREAM: cbfstool/ifwitool: Remove unnecessary assignment 2017-03-30 05:30:09 -07:00
cbmem
checklist
chromeos
crossgcc UPSTREAM: crossgcc/Dockerfile: Add gnat to build the Ada toolchain 2017-03-25 10:22:55 -07:00
docker UPSTREAM: util/docker: Update makefile for servers and local use 2017-04-04 03:02:42 -07:00
dtd_parser
ectool
exynos
futility UPSTREAM: util/futility/Makefile: Update clean target 2017-03-30 05:30:07 -07:00
fuzz-tests
genbuild_h
genprof
gitconfig
ifdfake
ifdtool
intelmetool UPSTREAM: util/intelmetool: Check for NULL return from pci_lookup_name 2017-04-07 07:03:31 -07:00
inteltool
intelvbttool
ipqheader
k8resdump
kconfig
lint UPSTREAM: util/lint: Show an error if a symbol is created in two choice blocks 2017-03-29 11:42:14 -07:00
marvell
me_cleaner
mma
msrtool
mtkheader
nvidia
nvramtool
optionlist
post
release
riscvtools
rockchip
romcc
sconfig
scripts
showdevicetree
spkmodem_recv
superiotool
uio_usbdebug
vgabios
viatool
xcompile