Subject: [PATCH] MdePkg/DxeHstiLib: Added checks to improve error handling.

Added checks for return parameters of LocateHandleBuffer & GetSupportedTypes

function calls in InternalHstiFindAip to improve error handling. An issue was

observed on Dell Poweredge R740, where the Dell PERC H740P controller UEFI

driver returned InfoTypesBuffer = NULL, InfoTypesBufferCount = 0 and caused

an FreePool assert.

 

Signed-off-by: Jayanth Raghuram <Jayanth.Raghuram@Dell.com>

Cc: Wei G Liu <Wei_G_Liu@Dell.com>

 

Attached: 0001-MdePkg-DxeHstiLib-Added-checks-to-improve-error-hand.patch

 

Regards

Jayanth Raghuram

DellEMC | Server Platform BIOS

office + 1 512 723 1470