1. UsbMassStorage: Increase the timeout of USBFloppyRead10 and USBFloppyWrite10 for data transfer.

2. PxeBc: Fix array out bound error and add code to check the validation of the IP and subnet mask addresses.
3. DxeIpl: Make sure FV HOB is not corrupted by checking FV signature.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2570 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8
2007-04-16 05:20:06 +00:00
parent df13cebafa
commit 56056c7cd8
5 changed files with 58 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
/*++
Copyright (c) 2006, Intel Corporation
Copyright (c) 2006 - 2007, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -348,7 +348,7 @@ USBFloppyRead10 (
ByteCount = SectorCount * BlockSize;
TimeOut = (UINT16) (SectorCount * USBFLPTIMEOUT);
TimeOut = (UINT16) (SectorCount * USBDATATIMEOUT);
Status = USBFloppyPacketCommand (
@@ -780,7 +780,7 @@ USBFloppyWrite10 (
ByteCount = SectorCount * BlockSize;
TimeOut = (UINT16) (SectorCount * USBFLPTIMEOUT);
TimeOut = (UINT16) (SectorCount * USBDATATIMEOUT);
Status = USBFloppyPacketCommand (
UsbFloppyDevice,