Update HiiDataBase to fix the SCT hang issues by the invalid device path.
Update the driver config access protocol extractconfig and routeconfig interface to check the input parameters. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8349 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -345,7 +345,10 @@ ExtractConfig (
|
||||
EFI_STRING ConfigRequestHdr;
|
||||
EFI_STRING ConfigRequest;
|
||||
UINTN Size;
|
||||
|
||||
|
||||
if (Progress == NULL || Results == NULL) {
|
||||
return EFI_INVALID_PARAMETER;
|
||||
}
|
||||
//
|
||||
// Initialize the local variables.
|
||||
//
|
||||
@ -833,7 +836,6 @@ DriverSampleInit (
|
||||
// Initialize the local variables.
|
||||
//
|
||||
ConfigRequestHdr = NULL;
|
||||
|
||||
//
|
||||
// Initialize screen dimensions for SendForm().
|
||||
// Remove 3 characters from top and bottom
|
||||
|
Reference in New Issue
Block a user