[coreboot-gerrit] Patch merged into coreboot/master: util/intelmetool: Fix segfault on edge cases
gerrit at coreboot.org
gerrit at coreboot.org
Wed Mar 8 04:34:38 CET 2017
the following patch was just integrated into master:
commit 2a1ae05316db8d70c8e15df4913b786b120ab615
Author: Huan Truong <htruong at tnhh.net>
Date: Sun Mar 5 02:24:51 2017 -0600
util/intelmetool: Fix segfault on edge cases
The intel ME checker tool would segfault if it reaches the end of
the loop without having the dev pointer set. This happens when
it gets to the end of the previous loop without knowing what to do
with any of the devices it sees.
This patch makes sure the pointer is not NULL before accessing it.
Change-Id: Ia13191799d7e00185947f9df5188cb2666c43e2a
Signed-off-by: Huan Truong <htruong at tnhh.net>
Reviewed-on: https://review.coreboot.org/18573
Tested-by: build bot (Jenkins)
Reviewed-by: Arthur Heymans <arthur at aheymans.xyz>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>
See https://review.coreboot.org/18573 for details.
-gerrit
More information about the coreboot-gerrit
mailing list