mirror of https://github.com/acidanthera/audk.git
Add check for DevicePathNode.
Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13690 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
611db14afc
commit
4dbb98ab16
|
@ -770,6 +770,7 @@ DxeTpmMeasureBootHandler (
|
|||
// Find the gpt partion on the given devicepath
|
||||
//
|
||||
DevicePathNode = OrigDevicePathNode;
|
||||
ASSERT (DevicePathNode != NULL);
|
||||
while (!IsDevicePathEnd (DevicePathNode)) {
|
||||
//
|
||||
// Find the Gpt partition
|
||||
|
|
Loading…
Reference in New Issue