coreboot-kgpe-d16/util/intelmetool
Youness Alaoui b85ddc787e 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.

Change-Id: I499f0b5e1681f3926df0d8a325aab2c666ebd632
Signed-off-by: Youness Alaoui <youness.alaoui@puri.sm>
Reviewed-on: https://review.coreboot.org/19089
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h@gmx.de>
2017-04-04 20:48:34 +02:00
..
Makefile util/intelmetool: Add intelmetool from Damien Zammit 2016-03-25 18:28:03 +01:00
intelmetool.c util/intelmetool: Check for NULL return from pci_lookup_name 2017-04-04 20:48:34 +02:00
intelmetool.h util/intelmetool: Add support for Wildcat Point LP 2017-03-08 04:36:04 +01:00
me.c util/intelmetool: Add intelmetool from Damien Zammit 2016-03-25 18:28:03 +01:00
me.h util/intelmetool: Add intelmetool from Damien Zammit 2016-03-25 18:28:03 +01:00
me_status.c util/intelmetool: Add intelmetool from Damien Zammit 2016-03-25 18:28:03 +01:00
mmap.c util/intelmetool: Fix warning building with 32-bit 2016-12-28 17:25:56 +01:00
mmap.h util/intelmetool: Fix warning building with 32-bit 2016-12-28 17:25:56 +01:00