Merge R8 tracker #8375.
authorxli24 <xli24@de2fecce-e211-0410-80a6-f3fac2684e05>
Wed, 6 Dec 2006 09:04:37 +0000 (09:04 +0000)
committerxli24 <xli24@de2fecce-e211-0410-80a6-f3fac2684e05>
Wed, 6 Dec 2006 09:04:37 +0000 (09:04 +0000)
commit3610ead24dac8496896e6d9fad9cf4571479a61e
treeb1c266532b814f02dfb276fb49cc724e365d4dab
parent6c71337abed602f106016201a83ab900b2e7f393
Merge R8 tracker #8375.
Make GetVariable() check Data parameter, and return EFI_INVALID_PARAMETER if it is NULL and DataSize is enough, according to UEFI spec.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2061 de2fecce-e211-0410-80a6-f3fac2684e05
edk2/EdkModulePkg/Universal/EmuVariable/RuntimeDxe/EmuVariable.c