mirror of https://github.com/acidanthera/audk.git
Fix wrong BufferSize for Configuration data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10192 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
d34a247e8a
commit
5a15736588
|
@ -61,7 +61,7 @@ VENDOR_DEVICE_PATH mHiiVendorDevicePathNode = {
|
|||
|
||||
@retval EFI_SUCCESS The Results is filled with the requested values.
|
||||
@retval EFI_OUT_OF_RESOURCES Not enough memory to store the results.
|
||||
@retval EFI_INVALID_PARAMETER Request is NULL, illegal syntax, or unknown name.
|
||||
@retval EFI_INVALID_PARAMETER Request is illegal syntax, or unknown name.
|
||||
@retval EFI_NOT_FOUND Routing data doesn't match any storage in this
|
||||
driver.
|
||||
|
||||
|
@ -111,7 +111,7 @@ VlanExtractConfig (
|
|||
//
|
||||
PrivateData = VLAN_CONFIG_PRIVATE_DATA_FROM_THIS (This);
|
||||
ZeroMem (&Configuration, sizeof (VLAN_CONFIGURATION));
|
||||
BufferSize = sizeof (VLAN_CONFIG_PRIVATE_DATA);
|
||||
BufferSize = sizeof (Configuration);
|
||||
ConfigRequest = Request;
|
||||
if ((Request == NULL) || (StrStr (Request, L"OFFSET") == NULL)) {
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue