Add check when use Index as Array [Index] to avoid out of Array bound.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7348 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -588,6 +588,7 @@ GetDriverBindingHandleFromImageHandle (
|
||||
|
||||
@param Private Pointer to EFI_CALLBACK_INFO.
|
||||
@param KeyValue The callback key value of device controller item in first page.
|
||||
KeyValue is larger than or equal to KEY_VALUE_DEVICE_OFFSET.
|
||||
@param FakeNvData Pointer to PLAT_OVER_MNGR_DATA.
|
||||
|
||||
@retval EFI_SUCCESS Always returned.
|
||||
|
Reference in New Issue
Block a user